Force DummyServer to listen on IPv4

Ignore-this: 63465a1c491fb2438066f1f4bc303540

darcs-hash:20090630174050-86b55-65e864661db0bbc16ca3643455f776cd609f8488.gz
This commit is contained in:
David Rousselie
2009-06-30 19:40:50 +02:00
parent e829fa68f4
commit 9bab128113
3 changed files with 9 additions and 12 deletions

View File

@@ -48,8 +48,7 @@ if __name__ == '__main__':
class MyTestProgram(unittest.TestProgram):
def runTests(self):
"""run tests but do not exit after"""
if self.testRunner is None:
self.testRunner = unittest.TextTestRunner(verbosity=self.verbosity)
self.testRunner = unittest.TextTestRunner(verbosity=self.verbosity)
self.testRunner.run(self.test)
logger = logging.getLogger()