~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_bugtracker.py

  • Committer: Andrew Starr-Bochicchio
  • Date: 2014-03-30 17:59:29 UTC
  • mto: This revision was merged to the branch mainline in revision 6592.
  • Revision ID: a.starr.b@gmail.com-20140330175929-rd97jstcbau2j1gy
Use LooseVersion from distutils to check Cython version in order to handle non-integers in the version string.

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
 
        TestCaseWithMemoryTransport.setUp(self)
 
40
        super(TestGetBugURL, self).setUp()
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
 
        TestCaseWithMemoryTransport.setUp(self)
 
188
        super(TestURLParametrizedBugTracker, self).setUp()
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
 
        TestCaseWithMemoryTransport.setUp(self)
 
223
        super(TestURLParametrizedIntegerBugTracker, self).setUp()
224
224
        self.url = 'http://twistedmatrix.com/trac'
225
225
        self.tracker = bugtracker.URLParametrizedIntegerBugTracker('some',
226
226
                                                                   'ticket/')