/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_request.py

  • Committer: Vincent Ladeuil
  • Date: 2009-07-10 10:46:00 UTC
  • mto: (4525.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4526.
  • Revision ID: v.ladeuil+lp@free.fr-20090710104600-81t8scvfiqlrnwaq
Fixed as asked in review.

* bzrlib/tests/per_workingtree/__init__.py:
(load_tests):  Remove common prefix.

* bzrlib/tests/per_tree/__init__.py:
(load_tests):  Remove common prefix.

* bzrlib/tests/per_branch/__init__.py:
(load_tests): Remove common prefix.

* bzrlib/tests/__init__.py:
(test_suite): Restore module names sorting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
159
159
            ('NoSuchFile', 'path'), errors.NoSuchFile('path'))
160
160
 
161
161
    def test_LockContention(self):
162
 
        # For now, LockContentions are always transmitted with no details.
163
 
        # Eventually they should include a relpath or url or something else to
164
 
        # identify which lock is busy.
165
162
        self.assertTranslationEqual(
166
 
            ('LockContention',), errors.LockContention('lock', 'msg'))
 
163
            ('LockContention', 'lock', 'msg'),
 
164
            errors.LockContention('lock', 'msg'))
167
165
 
168
166
    def test_TokenMismatch(self):
169
167
        self.assertTranslationEqual(