def setUp(self): global compare replaylib.start_record() webf = urllib.urlopen('http://localhost:%d' % servers.PORT) compare = webf.read() webf.close() replaylib.stop_record(TEST_FILENAME) PluginTester.setUp(self)
def __init__(self, *args, **kwargs): self.activate = '--processes=%d' % self.processes PluginTester.__init__(self) TestCase.__init__(self, *args, **kwargs)