~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bugtracker.py

  • Committer: Jelmer Vernooij
  • Date: 2012-08-02 10:38:21 UTC
  • mto: This revision was merged to the branch mainline in revision 6555.
  • Revision ID: jelmer@samba.org-20120802103821-pto2dgacjtmpzl1n
Move color feature into bzrlib.tests.features.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
            return "http://bugs.com/%s" % bug_id
38
38
 
39
39
    def setUp(self):
40
 
        super(TestGetBugURL, self).setUp()
 
40
        TestCaseWithMemoryTransport.setUp(self)
41
41
        self.tracker_type = TestGetBugURL.TransientTracker
42
42
        self.tracker_type.log = []
43
43
        bugtracker.tracker_registry.register('transient', self.tracker_type)
185
185
    """Tests for URLParametrizedBugTracker."""
186
186
 
187
187
    def setUp(self):
188
 
        super(TestURLParametrizedBugTracker, self).setUp()
 
188
        TestCaseWithMemoryTransport.setUp(self)
189
189
        self.url = 'http://twistedmatrix.com/trac'
190
190
        self.tracker = bugtracker.URLParametrizedBugTracker('some', 'ticket/')
191
191
 
220
220
    """Tests for URLParametrizedIntegerBugTracker."""
221
221
 
222
222
    def setUp(self):
223
 
        super(TestURLParametrizedIntegerBugTracker, self).setUp()
 
223
        TestCaseWithMemoryTransport.setUp(self)
224
224
        self.url = 'http://twistedmatrix.com/trac'
225
225
        self.tracker = bugtracker.URLParametrizedIntegerBugTracker('some',
226
226
                                                                   'ticket/')