~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bugtracker.py

  • Committer: Martin Packman
  • Date: 2012-02-01 13:24:42 UTC
  • mto: (6437.23.4 2.5)
  • mto: This revision was merged to the branch mainline in revision 6462.
  • Revision ID: martin.packman@canonical.com-20120201132442-ela7jc4mxv4b058o
Treat path for .bzr.log as unicode

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/')