lp:~vila/bzr/local-test-server
- Get this branch:
- bzr branch lp:~vila/bzr/local-test-server
Branch merges
Branch information
Recent revisions
- 66. By Vincent Ladeuil
-
Catchup with bzr.dev.
* tests/test_
test_server. py:
(load_tests): Catch up with bzr.dev new test parametrization
policy.* tests/test_
server. py:
(load_tests): Catch up with bzr.dev new test parametrization
policy.* tests/test_
config. py:
(load_tests): Catch up with bzr.dev new test parametrization
policy.* test_server.py:
(get_test_permutations) : Use ImportError not DependencyNotPr esent. - 65. By Vincent Ladeuil
-
Test suite passing for python-2.5 and 2.6.
* bin/pyftpdlib:
(BZRConformingFTPHandler) : Tweak the server to comply with bzr
idiosyncrasies. - 63. By Vincent Ladeuil
-
Add pyftpdlib support, not all bzr tests passing.
* tests/test_
utils.py:
(full_scenarios): Add scenario for pyftpdlib.* test_server.py:
(PyftpdlibFeature): New class.
(Muddleftpd.tearDown) : Oops, forgot to delete the symlink.
(Pyftpdlib): Test server serving '/' for anonymous ftp.* server.py:
(Server._start_ by_spawning) : Factored out from Vsftpd._start.
(Vsftpd._start): Simplified.
(Pyftpdlib): Spawn a pyftpdlib FTP server.* configs/
pyftpdlib. conf:
Rough configuration options.* config.py:
(Pyftpdlib): New class.* bin/pyftpdlib:
Wrapper to start a pyftpdlib FTP server. - 62. By Vincent Ladeuil
-
Tweak required dirs definitions.
* config.py:
(Config.__init__): All 'work' sub-directories are define in the
same way. Use a tuple instead of a dict so that daughter classes
can add required dires more easily and force the name. - 60. By Vincent Ladeuil
-
Get rid of the silly parameter order for server constructor.
* server.py:
(Server.__init__): Swap parameter order since *all* daughter
classes were swapping them anyway. - 59. By Vincent Ladeuil
-
Simply Config classes definitions.
* tests/test_
config. py:
(TestBaseConfig.test_ensure_ required_ dirs_exist) : Update tests. * config.py:
(Config.__init__): Slightly rework parameter handling to simplify
daughter classes. - 58. By Vincent Ladeuil
-
Make the test suite pass, modulo relaxing constraints in bzr.dev (not yet
submitted to bzr core).* test_server.py:
(LocalTestServer._build_ symlink_ under_data_ dir): Pused up from
LocalHTTPTestServer.
(LocalTestServer.get_url, LocalHTTPTestSe rver.get_ url): Moved from
LocalTestServer, this had nothing to do there since it's using
_symlink_name .
(Muddleftpd): Now serve files throuhg a symlink under data dir as
http servers.
(Muddleftpd._build_ base_url) : Use anonymous as a user since we
can.
(Muddleftpd.get_url) : Point to the symmlink. * configs/
muddleftpd. conf:
Tweaks to allow anonymous login and grant him all rights. - 57. By Vincent Ladeuil
-
Test server test passing.
* tests/test_
utils.py:
(full_scenarios): Complete muddleftpd definition.* test_server.py:
(MuddleftpdFeature, Muddleftpd): New classes.
(get_test_permutations) : Add muddleftpd permutation. * server.py:
(Server._kill_server) : Add docstring, return True if zombie
catched.
(Muddleftpd.is_installed) : We need ftpwho too.
(Muddleftpd.get_pid) : 'ftpwho -p' is the reliable way to get the
pid.
(Muddleftpd._start) : Use get_pid() to ensure the server was started.
(Muddleftpd._stop): There is no pidfile.* configs/
muddleftpd. conf:
(scratchfile): Mention that this more or less implies that we run
a single server only.
Branch metadata
- Branch format:
- Branch format 6
- Repository format:
- Bazaar pack repository format 1 (needs bzr 0.92)