def setUp(self): TestCaseWithMemoryTransport.setUp(self) self.tracker_type = TestGetBugURL.TransientTracker self.tracker_type.log = [] bugtracker.tracker_registry.register('transient', self.tracker_type) self.addCleanup( lambda: bugtracker.tracker_registry.remove('transient'))
def setUp(self): TestCaseWithMemoryTransport.setUp(self) self.tracker_type = TestGetBugURL.TransientTracker self.tracker_type.log = [] bugtracker.tracker_registry.register('transient', self.tracker_type) self.addCleanup(lambda: bugtracker.tracker_registry.remove('transient'))
def setUp(self): TestCaseWithMemoryTransport.setUp(self) mapper = versionedfile.PrefixMapper() factory = knit.make_file_factory(True, mapper) self.vf = factory(self.get_transport()) self.plan_merge_vf = versionedfile._PlanMergeVersionedFile('root') self.plan_merge_vf.fallback_versionedfiles.append(self.vf)
def setUp(self): TestCaseWithMemoryTransport.setUp(self) self.url = 'http://twistedmatrix.com/trac' self.tracker = bugtracker.URLParametrizedIntegerBugTracker( 'some', 'ticket/')
def setUp(self): TestCaseWithMemoryTransport.setUp(self) self.url = 'http://twistedmatrix.com/trac' self.tracker = bugtracker.URLParametrizedIntegerBugTracker('some', 'ticket/')
def setUp(self): self.hook_calls = [] TestCaseWithMemoryTransport.setUp(self)