/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_transactions.py

  • Committer: Richard Wilbur
  • Date: 2016-02-04 19:07:28 UTC
  • mto: This revision was merged to the branch mainline in revision 6618.
  • Revision ID: richard.wilbur@gmail.com-20160204190728-p0zvfii6zase0fw7
Update COPYING.txt from the original http://www.gnu.org/licenses/gpl-2.0.txt  (Only differences were in whitespace.)  Thanks to Petr Stodulka for pointing out the discrepancy.

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
 
18
18
"""Tests for the behaviour of the Transaction concept in bzr."""
19
19
 
20
 
#import breezy specific imports here
21
 
import breezy.errors as errors
22
 
from breezy.tests import TestCase
23
 
import breezy.transactions as transactions
 
20
#import bzrlib specific imports here
 
21
import bzrlib.errors as errors
 
22
from bzrlib.tests import TestCase
 
23
import bzrlib.transactions as transactions
24
24
 
25
25
 
26
26
class DummyWeave(object):
42
42
class TestSymbols(TestCase):
43
43
 
44
44
    def test_public_symbols(self):
45
 
        from breezy.transactions import ReadOnlyTransaction
46
 
        from breezy.transactions import PassThroughTransaction
 
45
        from bzrlib.transactions import ReadOnlyTransaction
 
46
        from bzrlib.transactions import PassThroughTransaction
47
47
 
48
48
 
49
49
class TestReadOnlyTransaction(TestCase):
57
57
 
58
58
    def test_register_dirty_raises(self):
59
59
        self.assertRaises(errors.ReadOnlyError,
60
 
                          self.transaction.register_dirty, "anobject")
 
60
                          self.transaction.register_dirty,"anobject")
61
61
 
62
62
    def test_map(self):
63
63
        self.assertNotEqual(None, getattr(self.transaction, "map", None))