/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
..
centralized_workflow.txt 1964.2.2 19 years ago John Arbash Meinel Adding a footnote to help understand nesting 11 KB Diff Download File
configuration.txt 1558.16.5 19 years ago Aaron Bentley Moy: change BZREMAIL to BZR_EMAIL 4.4 KB Diff Download File
default.css 1551.8.18 19 years ago Aaron Bentley Tweak font settings in stylesheet 1.7 KB Diff Download File
index.txt 1910.19.4 19 years ago Andrew Bennetts Add a doc on "Running a Bazaar Server" (Robert Col 1.4 KB Diff Download File
plugins.txt 1861.2.6 19 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 3 KB Diff Download File
README.1st 1861.2.6 19 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 904 bytes Diff Download File
server.txt 2018.1.10 19 years ago Andrew Bennetts Merge --allow-writes from Robert 2.6 KB Diff Download File
setting_up_email.txt 1861.2.6 19 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 3.4 KB Diff Download File
specifying_revisions.txt 1861.2.6 19 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 4.2 KB Diff Download File
tutorial.txt 1910.1.3 19 years ago Aaron Bentley Update NEWS and tutorial to describe merge --uncom 19.6 KB Diff Download File
using_aliases.txt 1861.2.6 19 years ago Alexander Belchenko branding: change Bazaar-NG to Bazaar 1.8 KB Diff Download File
version_info.txt 2022.1.7 19 years ago John Arbash Meinel Add NEWS and a simple doc for using bzr version-in 2.1 KB Diff Download File