def tearDown(self):
    try:
        self.s.terminate()
    except swat.SWATError:
        pass
    del self.s
    swat.reset_option()
def tearDown(self):
    try:
        self.s.terminate()
    except swat.SWATError:
        pass
    del self.s
    swat.reset_option()