~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: John Arbash Meinel
  • Date: 2006-10-24 14:12:53 UTC
  • mto: This revision was merged to the branch mainline in revision 2095.
  • Revision ID: john@arbash-meinel.com-20061024141253-783fba812b197b70
(John Arbash Meinel) Update version information for 0.13 development

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
from bzrlib.inventory import Inventory
23
23
import bzrlib.repository as repository
24
24
from bzrlib.tests import TestCaseWithTransport
25
 
from bzrlib.tests import TestUIFactory
 
25
from bzrlib.tests.blackbox import TestUIFactory
26
26
from bzrlib.transport import get_transport
27
27
import bzrlib.ui as ui
28
28
 
41
41
 
42
42
    def test_trivial_reconcile(self):
43
43
        t = bzrdir.BzrDir.create_standalone_workingtree('.')
44
 
        (out, err) = self.run_bzr('reconcile')
 
44
        (out, err) = self.run_bzr_captured(['reconcile'])
45
45
        self.assertEqualDiff(out, "Reconciling repository %s\n"
46
46
                                  "Inventory ok.\n"
47
47
                                  "Reconciliation complete.\n" %
55
55
        inv = Inventory(revision_id='missing')
56
56
        inv.root.revision='missing'
57
57
        repo.add_inventory('missing', inv, [])
58
 
        (out, err) = self.run_bzr('reconcile')
 
58
        (out, err) = self.run_bzr_captured(['reconcile'])
59
59
        self.assertEqualDiff(out, "Reconciling repository %s\n"
60
60
                                  "Backup Inventory created.\n"
61
61
                                  "Inventory regenerated.\n"