~bzr-pqm/bzr/bzr.dev

  • Committer: Vincent Ladeuil
  • Date: 2007-06-26 20:32:49 UTC
  • mto: (2581.1.1 cleanup-runbzr)
  • Revision ID: v.ladeuil+lp@free.fr-20070626203249-sqm4afiai5dxofum
Deprecate the varargs syntax and fix the tests.

* bzrlib/tests/__init__.py:
(TestCase.run_bzr): Activate the deprecation warning.
(TestCase.run_bzr_error): Add error_regexes to kwargs or run_bzr
get confused.

* bzrlib/tests/blackbox/test_selftest.py:
(TestRunBzr.test_args): Activate.

* bzrlib/tests/blackbox/test_inventory.py:
(TestInventory.assertInventoryEqual): Build the command from args
if not None.

* bzrlib/tests/blackbox/test_ls.py:
(TestLS.ls_equals): Build the command from args if not None.

* bzrlib/tests/blackbox/test_remove_tree.py:
(TestRemoveTree.test_remove_tree_lightweight_checkout_explicit):
Nice catch, we were calling run_bzr instead of run_bzr_error. This
went unnoticed for some time...
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2485.7.1 17 years ago Robert Collins Relocate TestCaseWithRepository to be more central 3.7 KB Diff Download File
test_break_lock.py 2052.3.2 18 years ago John Arbash Meinel Change Copyright .. by Canonical to Copyright ... 2.2 KB Diff Download File
test_commit_builder.py 2018.5.141 17 years ago Andrew Bennetts Merge supports-rich-root branch. 5.8 KB Diff Download File
test_fileid_involved.py 2018.5.116 17 years ago Robert Collins Commit final test-case-cleanups branch. 12.1 KB Diff Download File
test_iter_reverse_revision_history.py 2255.2.234 17 years ago Robert Collins Merge bzr.dev. 5.8 KB Diff Download File
test_reconcile.py 2018.5.113 17 years ago Robert Collins Test only fixes from the ported-to-bzr.dev test-co 15 KB Diff Download File
test_repository.py 2485.7.2 17 years ago Robert Collins Merge bzr.dev. 29.7 KB Diff Download File
test_revision.py 1913.1.5 18 years ago John Arbash Meinel fix test name 4.3 KB Diff Download File
test_statistics.py 2258.1.2 17 years ago Robert Collins New version of gather_stats which gathers aggregat 3.7 KB Diff Download File