/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 1986.1.3 19 years ago Robert Collins Merge bzr.dev. 3.5 KB Diff Download File
test_basis_inventory.py 1910.2.47 19 years ago Aaron Bentley Merge bzr.dev 4.2 KB Diff Download File
test_break_lock.py 1687.1.15 19 years ago Robert Collins Review comments. 2.8 KB Diff Download File
test_changes_from.py 1852.9.6 19 years ago Robert Collins Merge the change from Tree.compare to Tree.changes 2.2 KB Diff Download File
test_commit.py 1908.7.11 19 years ago Robert Collins Merge bzr.dev and undeprecated WorkingTree.last_re 9.8 KB Diff Download File
test_executable.py 1908.7.6 19 years ago Robert Collins Deprecate WorkingTree.last_revision. 6.4 KB Diff Download File
test_get_parent_ids.py 1908.7.7 19 years ago Robert Collins Deprecated WorkingTree.pending_merges. 2.4 KB Diff Download File
test_is_control_filename.py 1773.4.1 19 years ago Martin Pool Add pyflakes makefile target; fix many warnings 1.7 KB Diff Download File
test_is_ignored.py 1836.1.31 19 years ago John Arbash Meinel Make set_user_ignores a private function, and upda 7.8 KB Diff Download File
test_locking.py 1957.1.17 18 years ago John Arbash Meinel Change tests that expect locking to fail to timeou 9.5 KB Diff Download File
test_merge_from_branch.py 1979.2.1 19 years ago Robert Collins (robertc) adds a convenience method "merge_from_br 2.2 KB Diff Download File
test_mkdir.py 1986.1.2 19 years ago Robert Collins Various changes to allow non-workingtree specific 1.3 KB Diff Download File
test_parents.py 1908.7.11 19 years ago Robert Collins Merge bzr.dev and undeprecated WorkingTree.last_re 9.3 KB Diff Download File
test_pull.py 1908.7.6 19 years ago Robert Collins Deprecate WorkingTree.last_revision. 2.2 KB Diff Download File
test_put_file.py 1986.1.2 19 years ago Robert Collins Various changes to allow non-workingtree specific 1.5 KB Diff Download File
test_unversion.py 1988.2.3 19 years ago Robert Collins Merge in commit test case for deletion-heuristic. 3.1 KB Diff Download File
test_workingtree.py 1908.7.11 19 years ago Robert Collins Merge bzr.dev and undeprecated WorkingTree.last_re 27.7 KB Diff Download File