~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_lockable_files.py

  • Committer: Ross Lagerwall
  • Date: 2012-08-07 06:32:51 UTC
  • mto: (6437.63.5 2.5)
  • mto: This revision was merged to the branch mainline in revision 6558.
  • Revision ID: rosslagerwall@gmail.com-20120807063251-x9p03ghg2ws8oqjc
Add bzrlib/locale to .bzrignore

bzrlib/locale is generated with ./setup.py build_mo which is in turn called
by ./setup.py build

Show diffs side-by-side

added added

removed removed

Lines of Context:
272
272
                                      _TestLockableFiles_mixin):
273
273
 
274
274
    def setUp(self):
275
 
        super(TestLockableFiles_TransportLock, self).setUp()
 
275
        TestCaseInTempDir.setUp(self)
276
276
        t = transport.get_transport_from_path('.')
277
277
        t.mkdir('.bzr')
278
278
        self.sub_transport = t.clone('.bzr')
293
293
 
294
294
 
295
295
class TestLockableFiles_LockDir(TestCaseInTempDir,
296
 
                                _TestLockableFiles_mixin):
 
296
                              _TestLockableFiles_mixin):
297
297
    """LockableFile tests run with LockDir underneath"""
298
298
 
299
299
    def setUp(self):
300
 
        super(TestLockableFiles_LockDir, self).setUp()
 
300
        TestCaseInTempDir.setUp(self)
301
301
        self.transport = transport.get_transport_from_path('.')
302
302
        self.lockable = self.get_lockable()
303
303
        # the lock creation here sets mode - test_permissions on branch
329
329
 
330
330
 
331
331
class TestLockableFiles_RemoteLockDir(TestCaseWithSmartMedium,
332
 
                                      _TestLockableFiles_mixin):
 
332
                              _TestLockableFiles_mixin):
333
333
    """LockableFile tests run with RemoteLockDir on a branch."""
334
334
 
335
335
    def setUp(self):
336
 
        super(TestLockableFiles_RemoteLockDir, self).setUp()
 
336
        TestCaseWithSmartMedium.setUp(self)
337
337
        # can only get a RemoteLockDir with some RemoteObject...
338
338
        # use a branch as thats what we want. These mixin tests test the end
339
339
        # to end behaviour, so stubbing out the backend and simulating would