~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_add.py

  • Committer: Vincent Ladeuil
  • Date: 2007-06-28 12:26:11 UTC
  • mto: (2581.1.1 cleanup-runbzr)
  • mto: This revision was merged to the branch mainline in revision 2588.
  • Revision ID: v.ladeuil+lp@free.fr-20070628122611-0suhzl7o6aep1ibz
Revert the intrusive run_bzr('commit') rewritings.

* bzrlib/tests/test_smart_add.py:
(TestSmartAdd.test_add_dry_run,
TestSmartAdd.test_returns_and_ignores):  Delete useless import.

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
 
111
111
    def test_add_dry_run(self):
112
112
        """Test a dry run add, make sure nothing is added."""
113
 
        from bzrlib.commands import run_bzr
114
113
        eq = self.assertEqual
115
114
        wt = self.make_branch_and_tree('.')
116
115
        self.build_tree(['inertiatic/', 'inertiatic/esp'])
126
125
 
127
126
    def test_returns_and_ignores(self):
128
127
        """Correctly returns added/ignored files"""
129
 
        from bzrlib.commands import run_bzr
130
128
        wt = self.make_branch_and_tree('.')
131
129
        # The default ignore list includes '*.py[co]', but not CVS
132
130
        ignores._set_user_ignores(['*.py[co]'])