~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/commands/test_revert.py

MergeĀ lp:bzr/2.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
        # but locks are acquired either way.)
47
47
        revert = builtins.cmd_revert()
48
48
        revert.run()
49
 
        # FIXME: the following is automated in trunk so the following line
50
 
        # should not be present in trunk, the laternative is to call
51
 
        # run_argv_aliases which will call run_direct which will call
52
 
        # _operation.run_simple which will, finally, call the cleanups. Way too
53
 
        # complicated for a temporary fix -- vila 20100415
54
 
        revert.cleanup_now()
55
49
 
56
50
        # make sure that only one lock is acquired and released.
57
51
        self.assertLength(1, locks_acquired)