pypiserver/tests
PelleK 4b1bd1c9db
Refactor test_server to increase speed (#354)
I gave test_server.py some much needed attention. This file now take ~30 seconds on my machine to run (down from 130 seconds), and I cleaned up the code a little. Let's see how this goes in CI

Commits:
-------------
* minimize time.sleep, convert to pathlib
* refactor, dry code
* run black

Co-authored-by: Matthew Planchard <mplanchard@users.noreply.github.com>
2020-11-15 15:57:53 -06:00
..
__init__.py Added init.py to tests 2016-05-12 20:02:10 -05:00
doubles.py Cleanup code to python 3.6 (#342) 2020-10-07 20:45:51 -05:00
htpasswd.a.a PIP test-server. 2015-09-19 02:04:32 +02:00
sample_msg.html Use bottle's SimpleTemplate engine to avoid XSS on welcome-page (#77). 2015-02-22 18:43:35 +01:00
test_app.py Use argparse config throughout app (#349) 2020-10-25 18:48:28 -05:00
test_config.py Use argparse config throughout app (#349) 2020-10-25 18:48:28 -05:00
test_core.py Use argparse config throughout app (#349) 2020-10-25 18:48:28 -05:00
test_docs.py Cleanup code to python 3.6 (#342) 2020-10-07 20:45:51 -05:00
test_init.py Use argparse config throughout app (#349) 2020-10-25 18:48:28 -05:00
test_main.py Use argparse config throughout app (#349) 2020-10-25 18:48:28 -05:00
test_manage.py Use argparse config throughout app (#349) 2020-10-25 18:48:28 -05:00
test_server.py Refactor test_server to increase speed (#354) 2020-11-15 15:57:53 -06:00
test-ignorelist Backwards-compatible argparse config (not yet in use) (#339) 2020-10-08 19:37:39 -05:00