~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_commit.py

  • Committer: Robert Collins
  • Date: 2010-06-21 01:30:45 UTC
  • mfrom: (5309 +trunk)
  • mto: This revision was merged to the branch mainline in revision 5310.
  • Revision ID: robertc@robertcollins.net-20100621013045-s59nfjps3rkcn53j
Merge trunk to fix NEWS sections.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    probe_bad_non_ascii,
34
34
    TestSkipped,
35
35
    )
36
 
from bzrlib.tests.blackbox import ExternalBase
37
 
 
38
 
 
39
 
class TestCommit(ExternalBase):
 
36
from bzrlib.tests import TestCaseWithTransport
 
37
 
 
38
 
 
39
class TestCommit(TestCaseWithTransport):
40
40
 
41
41
    def test_05_empty_commit(self):
42
42
        """Commit of tree with no versioned files should fail"""
698
698
        self.assertContainsRe(err, r'modified test\nCommitted revision 2.')
699
699
 
700
700
    def test_commit_readonly_checkout(self):
701
 
        # https://bugs.edge.launchpad.net/bzr/+bug/129701
 
701
        # https://bugs.launchpad.net/bzr/+bug/129701
702
702
        # "UnlockableTransport error trying to commit in checkout of readonly
703
703
        # branch"
704
704
        self.make_branch('master')