~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

More agressive test sharing between push and dpush.

* bzrlib/tests/blackbox/test_push.py:
(TestPushStrictWithChanges.setUp): I'm pretty sure some review
asked for that comment...

* bzrlib/tests/blackbox/test_dpush.py:
(TestDpushStrictMixin): Minimize differences against
TestPushStrict* test.
(TestDpushStrictWithChanges, TestDpushStrictWithoutChanges):
Remove duplication from the TestPush counterparts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
695
695
 
696
696
    def setUp(self):
697
697
        super(TestPushStrictWithChanges, self).setUp()
 
698
        # Apply the changes defined in load_tests: one of _uncommitted_changes,
 
699
        # _pending_merges or _out_of_sync_trees
698
700
        getattr(self, self._changes_type)()
699
701
 
700
702
    def _uncommitted_changes(self):