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
81571c60a3
use pypiserver.app factory function in test_app
2012-04-07 23:10:49 +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
e7cf0e1d7f
use paste to test non-root installations
2012-04-03 22:59:01 +02:00
Ralf Schmitt
ec01935af6
test guess_pkgname_and_version with 'pep8'
2012-03-26 01:05:11 +02:00
Ralf Schmitt
f8818e2d9e
add some more tests for guess_pkgname_and_version
2012-03-26 00:59:59 +02:00
Ralf Schmitt
dc0303bb1f
add some tests for the pytz issue #6
...
pytz's version is '2012b' which we currently don't recognize as a
version string.
2012-03-26 00:59:59 +02:00
Ralf Schmitt
b680e34527
test that directories starting with a dot are ignored
2011-10-07 20:39:52 +02:00
Ralf Schmitt
219497b555
test for 404 when we don't have a package
2011-09-01 01:38:22 +02:00
Ralf Schmitt
16684872d0
cleanup with twill.remove_wsgi_intercept
2011-09-01 01:08:32 +02:00
Ralf Schmitt
cd811d131f
add more tests for /simple/
2011-09-01 00:19:14 +02:00
Ralf Schmitt
01a9288108
test that we don't serve files starting with a dot
2011-09-01 00:07:40 +02:00
Ralf Schmitt
c24b490cfa
test fallback to pypi.python.org
2011-08-31 22:00:09 +02:00
Ralf Schmitt
ee3c545932
test that /favicon.ico doesn't redirect and returns a 404
2011-08-31 21:22:52 +02:00
Ralf Schmitt
baa2936217
add some tests for the WSGI app
2011-08-30 03:38:59 +02:00
Ralf Schmitt
775f64783d
add some tests for core.main function
2011-08-30 02:36:25 +02:00