Commit Graph

25 Commits

Author SHA1 Message Date
Ralf Schmitt
b2c6410a39 handle package names case insensitive in filter_latest_pkgs
we probably also need to normalize _ vs - someday
2012-12-28 01:53:10 +01:00
Ralf Schmitt
16e3a2cd14 add some test for manage.py 2012-12-28 01:48:18 +01:00
Ralf Schmitt
c76390e333 get rid of pkgset class
instead we use an iterator that returns all relevant information. that
simplifies the code quite a bit because we now mostly operate on the
iterators result instead of handling filenames, versions, prefixes...
2012-12-26 01:15:03 +01:00
Ralf Schmitt
7a999fb8cb test that root view returns absolute paths in hrefs
this is github issue 25
2012-12-02 23:07:48 +01:00
Ralf Schmitt
e90a7ef822 make tests succeed under python 3 2012-12-02 01:20:52 +01:00
Ralf Schmitt
6989d316c5 use webtest instead of twill
webtest works with python 3.

we now also get rid of paste and pastedeploy and use
bottle.Bottle.mount instead.
2012-12-02 01:17:55 +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
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