Beispiel #1
0
 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'))
Beispiel #2
0
 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'))
Beispiel #3
0
 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)
Beispiel #4
0
 def setUp(self):
     TestCaseWithMemoryTransport.setUp(self)
     self.url = 'http://twistedmatrix.com/trac'
     self.tracker = bugtracker.URLParametrizedIntegerBugTracker(
         'some', 'ticket/')
Beispiel #5
0
 def setUp(self):
     TestCaseWithMemoryTransport.setUp(self)
     self.url = 'http://twistedmatrix.com/trac'
     self.tracker = bugtracker.URLParametrizedIntegerBugTracker('some',
                                                                'ticket/')
Beispiel #6
0
 def setUp(self):
     self.hook_calls = []
     TestCaseWithMemoryTransport.setUp(self)