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

  • Committer: Aaron Bentley
  • Date: 2008-10-30 09:41:51 UTC
  • mto: This revision was merged to the branch mainline in revision 3810.
  • Revision ID: aaron@aaronbentley.com-20081030094151-hyqkxchnsv2ejtqq
Switch to blackbox testing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
    osutils,
28
28
    repository,
29
29
    revision as _mod_revision,
30
 
    trace,
31
30
    treebuilder,
32
31
    )
33
32
from bzrlib.bundle import read_mergeable_from_url
45
44
from bzrlib.repofmt import knitrepo
46
45
from bzrlib.osutils import sha_file, sha_string
47
46
from bzrlib.tests import (
48
 
    StringIOWrapper,
49
47
    SymlinkFeature,
50
48
    TestCase,
51
49
    TestCaseInTempDir,
52
50
    TestCaseWithTransport,
53
51
    TestSkipped,
54
 
    TestUIFactory,
55
52
    test_read_bundle,
56
53
    test_commit,
57
54
    )
1576
1573
        self.assertRaises(errors.BadBundle, record_iter.next)
1577
1574
 
1578
1575
 
1579
 
class TestWriteOperationOutputsNote(TestCaseWithTransport):
1580
 
 
1581
 
    def test_note_revision_count(self):
1582
 
        repository = self.make_repository('repo')
1583
 
        op = v4.BundleWriteOperation('null:', 'null:', repository, StringIO())
1584
 
        notes = self.applyCaptureNotes(op.do_write)[1]
1585
 
        self.assertEqual(['Bundling 0 revision(s).'], notes)
1586
 
 
1587
 
 
1588
1576
class TestReadMergeableFromUrl(TestCaseWithTransport):
1589
1577
 
1590
1578
    def test_read_mergeable_skips_local(self):