Commit Graph

12 Commits

Author SHA1 Message Date
Kostis Anagnostopoulos at STUW025 1fd5653317 FIX #55: Allow unauthenticated uploads with `-P .` option.
+ Add `mock` lib into test-dependencies for py2.
+ travis: Use new containers.
2015-09-11 16:08:13 +02:00
Kostis Anagnostopoulos @ STUW025 91f635b570 tests: Normalize paths for comparisons to run on Windows. 2015-01-15 16:20:24 +01:00
ankostis@kilo c64b8c32d2 Allow to override welcome-msg(`/`) from a separate html file.
- Read welcome-msg in UTF-8.
- Add cmd-line option for `welcome-file`.
- Add TCs for welcome-file option and `/` http-req.
- Update docs for new option.
- Failback to in-code welcome-msg if unreadable (ie standalone mode, bad file).
2015-01-15 16:20:24 +01:00
ankostis@kilo cf03226ea2 Add Logging for all http actions.
* Use stabdard python's logging lib.
* Log http-request/response/errors.
* Cmd-line options for logging-format and filename.
* Cmd-line options for request /response/error requests/responses/errors
props to log.
* Add `-v` option controlling verbosity.
* Add docs about new options.
* TCs only `-v` & `--log_file ` (logging statements used throughout all
tests).
2014-11-17 16:51:45 +01:00
Ralf Schmitt 2232295412 implement multi-root support
one can now specify multiple package roots. watch out for filename
conflicts!
2013-01-22 23:00:48 +01:00
Ralf Schmitt e90a7ef822 make tests succeed under python 3 2012-12-02 01:20:52 +01:00
Ralf Schmitt 2f2eeee593 use new pytest.fixture functionality 2012-11-26 22:25:30 +01:00
Orne Brocaar 55273d55e3 Add --fallback-url argument to pypi-server script to make it configurable. 2012-08-15 10:02:58 +02:00
Ralf Schmitt 3df36e66a0 instantiate a new app object/module for each pypiserver.app call
adapt test_main to the new situation.
2012-04-07 23:23:29 +02:00
Ralf Schmitt 1b2f37ede5 do not use the default bottle app 2012-04-07 22:57:40 +02:00
Ralf Schmitt c0f82470c6 move bottle app function to _app module
I'd like to run multiple pypiserver wsgi apps inside one process and
plan to do so by reloading pypiserver._app.

this is the first step. we move all of the @route'd functions to _app.
2012-04-07 22:30:54 +02:00
Ralf Schmitt 775f64783d add some tests for core.main function 2011-08-30 02:36:25 +02:00