/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

  • Committer: v.ladeuil+lp at free
  • Date: 2006-10-12 14:29:32 UTC
  • mto: (2145.1.1 keepalive)
  • Revision ID: v.ladeuil+lp@free.fr-20061012142932-7221fe16d2b48fa3
Shuffle http related test code. Hopefully it ends up at the right place :)

* bzrlib/tests/HttpServer.py: 
New file. bzrlib.tests.ChrootedTestCase use HttpServer. So the
class can't be defined in bzrlib.tests.HTTPUtils because it
creates a circular dependency (bzrlib.tests.HTTPUtils needs to
import bzrlib.tests).

* bzrlib/transport/http/_urllib.py: 
Transfer test server definition to bzrlib.tests.HttpServer. Clean
up imports.

* bzrlib/transport/http/_pycurl.py: 
Transfer test server definition to bzrlib.tests.HttpServer. Clean
up imports.

* bzrlib/transport/http/__init__.py: 
Transfer all test related code to either bzrlib.tests.HttpServer
and bzrlib.tests.HTTPUtils.
Fix all use of TransportNotPossible and InvalidURL by prefixing it
by 'errors.' (this seems to be the preferred way in the rest of
bzr).
Get rid of unused imports.

* bzrlib/tests/test_transport.py:
(ReadonlyDecoratorTransportTest.test_local_parameters,
FakeNFSDecoratorTests.test_http_parameters): Use HttpServer from
bzrlib.tests.HttpServer instead of bzrlib.transport.http.

* bzrlib/tests/test_sftp_transport.py:
(set_test_transport_to_sftp): Use HttpServer from
bzrlib.tests.HttpServer instead of bzrlib.transport.http.

* bzrlib/tests/test_selftest.py:
(TestTestCaseWithTransport.test_get_readonly_url_http): Use
HttpServer from bzrlib.tests.HttpServer instead of
bzrlib.transport.http.

* bzrlib/tests/test_repository.py: 
Does *not* use HttpServer.

* bzrlib/tests/test_http.py: 
Build on top of bzrlib.tests.HttpServer and bzrlib.tests.HTTPUtils
instead of bzrlib.transport.http.

* bzrlib/tests/test_bzrdir.py:
(ChrootedTests.setUp): Use HttpServer from bzrlib.tests.HttpServer
instead of bzrlib.transport.http.

* bzrlib/tests/branch_implementations/test_http.py:
(HTTPBranchTests.setUp): Use HttpServer from bzrlib.tests.HttpServer
instead of bzrlib.transport.http.

* bzrlib/tests/branch_implementations/test_branch.py:
(ChrootedTests.setUp): Use HttpServer from bzrlib.tests.HttpServer
instead of bzrlib.transport.http.

* bzrlib/tests/__init__.py:
(ChrootedTestCase.setUp): Use HttpServer from
bzrlib.tests.HttpServer instead of bzrlib.transport.http.
Filename Latest Rev Last Changed Committer Comment Size
..
__init__.py 2027.4.6 19 years ago John Arbash Meinel [merge] bzr.dev 2034 6.2 KB Diff Download File
test_add.py 1987.1.1 19 years ago John Arbash Meinel Update the test suite to put HOME in a different d 6.9 KB Diff Download File
test_added.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 1.7 KB Diff Download File
test_aliases.py 1740.5.6 19 years ago Martin Pool Clean up many exception classes. Errors indicatin 1.8 KB Diff Download File
test_ancestry.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 3.9 KB Diff Download File
test_annotate.py 2027.3.1 19 years ago John Arbash Meinel 'bzr annotate' shouldn't fail on an empty file: fi 3.8 KB Diff Download File
test_bound_branches.py 1997.1.5 19 years ago Robert Collins ``Branch.bind(other_branch)`` no longer takes a wr 12.1 KB Diff Download File
test_branch.py 1908.7.6 19 years ago Robert Collins Deprecate WorkingTree.last_revision. 4.4 KB Diff Download File
test_break_lock.py 1957.1.17 19 years ago John Arbash Meinel Change tests that expect locking to fail to timeou 5.3 KB Diff Download File
test_bundle.py 1793.2.14 19 years ago Aaron Bentley Clean up bundle revision specification 3.7 KB Diff Download File
test_cat.py 1907.4.10 19 years ago Matthieu Moy Cut long lines, prevent "path" component from bein 1.9 KB Diff Download File
test_checkout.py 1908.7.6 19 years ago Robert Collins Deprecate WorkingTree.last_revision. 4 KB Diff Download File
test_command_encoding.py 1685.1.78 19 years ago Wouter van Heyst more code cleanup 3.7 KB Diff Download File
test_commit.py 1979.2.1 19 years ago Robert Collins (robertc) adds a convenience method "merge_from_br 12.4 KB Diff Download File
test_conflicts.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 3 KB Diff Download File
test_diff.py 1899.1.6 19 years ago John Arbash Meinel internal_diff always adds a trailing \n, make sure 11.2 KB Diff Download File
test_exceptions.py 1927.3.1 19 years ago Carl Friedrich Bolz Throw away on-disk logfile when possible. 2 KB Diff Download File
test_export.py 2024.2.8 19 years ago John Arbash Meinel paths are always forward slashed for python zipfil 8.3 KB Diff Download File
test_find_merge_base.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 1.3 KB Diff Download File
test_help.py 1861.2.7 19 years ago Alexander Belchenko merge bzr.dev 2.2 KB Diff Download File
test_ignore.py 1996.3.18 19 years ago John Arbash Meinel Now that mkdtemp and rmtree are lazy, they should 2.8 KB Diff Download File
test_ignored.py 1713.3.1 19 years ago Robert Collins Smoke tests for tree.list_files and bzr ignored wh 1.6 KB Diff Download File
test_info.py 1997.1.5 19 years ago Robert Collins ``Branch.bind(other_branch)`` no longer takes a wr 38.8 KB Diff Download File
test_init.py 1982.1.2 19 years ago Alexander Belchenko compatibility with win32 error messages format 4.9 KB Diff Download File
test_inventory.py 2027.4.4 19 years ago John Arbash Meinel more tests for 'bzr inventory' including errors an 4.3 KB Diff Download File
test_locale.py 2001.2.1 19 years ago Jelmer Vernooij Fix typo in encoding warning. 2.9 KB Diff Download File
test_log.py 1907.4.2 19 years ago Matthieu Moy Make log work nicely with revno:N:path too. 9.6 KB Diff Download File
test_logformats.py 1857.1.20 19 years ago Aaron Bentley Strip out all the EnumOption stuff 2.8 KB Diff Download File
test_ls.py 1987.1.1 19 years ago John Arbash Meinel Update the test suite to put HOME in a different d 5.4 KB Diff Download File
test_merge.py 1551.8.25 19 years ago Aaron Bentley Fix deprecated use of pending_merges 9.8 KB Diff Download File
test_missing.py 1685.1.80 19 years ago Wouter van Heyst more code cleanup 4.5 KB Diff Download File
test_mv.py 1846.1.2 19 years ago Wouter van Heyst test mv more rigorously 4.4 KB Diff Download File
test_non_ascii.py 1987.1.2 19 years ago John Arbash Meinel Remove the unneeded _set_user_ignores(['./.bazaar' 17.4 KB Diff Download File
test_outside_wt.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 3 KB Diff Download File
test_pull.py 1908.7.6 19 years ago Robert Collins Deprecate WorkingTree.last_revision. 10.4 KB Diff Download File
test_push.py 2063.2.1 19 years ago John Arbash Meinel (Matthieu Moy) cleanup message when pushing to div 6.5 KB Diff Download File
test_re_sign.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 2.9 KB Diff Download File
test_reconcile.py 1910.2.37 19 years ago Aaron Bentley Handle empty commits, fix test 2.5 KB Diff Download File
test_remerge.py 1857.1.20 19 years ago Aaron Bentley Strip out all the EnumOption stuff 4.7 KB Diff Download File
test_remove.py 1551.6.26 19 years ago Aaron Bentley Add support for remove --new 2.5 KB Diff Download File
test_revert.py 1551.7.9 19 years ago Aaron Bentley Update for review comments 5 KB Diff Download File
test_revision_history.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 3 KB Diff Download File
test_revision_info.py 1948.4.29 19 years ago John Arbash Meinel Remove a few more direct references to RevisionSpe 4.5 KB Diff Download File
test_revno.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 1.5 KB Diff Download File
test_selftest.py 1986.2.4 19 years ago Robert Collins Merge bzr.dev. 17.5 KB Diff Download File
test_serve.py 2018.1.11 19 years ago Andrew Bennetts Improvements to test_bzr_connect_to_bzr_ssh based 9.5 KB Diff Download File
test_shared_repository.py 1857.1.20 19 years ago Aaron Bentley Strip out all the EnumOption stuff 3.1 KB Diff Download File
test_sign_my_commits.py 1887.1.1 19 years ago Adeodato Simó Do not separate paragraphs in the copyright statem 3.8 KB Diff Download File
test_status.py 1987.1.2 19 years ago John Arbash Meinel Remove the unneeded _set_user_ignores(['./.bazaar' 9.4 KB Diff Download File
test_testament.py 1930.2.1 19 years ago John Arbash Meinel Move out the blackbox testament tests into a real 1.7 KB Diff Download File
test_too_much.py 1996.3.20 19 years ago John Arbash Meinel [merge] bzr.dev 2063 23.1 KB Diff Download File
test_uncommit.py 1997.1.5 19 years ago Robert Collins ``Branch.bind(other_branch)`` no longer takes a wr 7.5 KB Diff Download File
test_update.py 1908.6.11 19 years ago Robert Collins Remove usage of tree.pending_merges(). 7.9 KB Diff Download File
test_upgrade.py 1857.1.20 19 years ago Aaron Bentley Strip out all the EnumOption stuff 7.6 KB Diff Download File
test_version_info.py 2030.1.4 19 years ago John Arbash Meinel Add a test that we can find the version info when 4.9 KB Diff Download File
test_versioning.py 1852.10.4 19 years ago Robert Collins Merge bzr.dev. 5.6 KB Diff Download File
test_whoami.py 1861.4.3 19 years ago Matthieu Moy Better test for BZREMAIL. Checks that BZREMAIL st 5.1 KB Diff Download File