1
0
mirror of https://github.com/pypiserver/pypiserver synced 2024-11-09 16:45:51 +01:00
pypiserver/tests
Michał Górny f740a84539
test: Fix running build in offline test environment (#571)
Fix the `build` calls to use `--no-isolation`, in order to fix
regression in running tests in an offline environment.

Unlike the previous `setup.py` calls, `build` defaults to creating a new
virtual environment to perform the build.  This, in turn, requires
fetching the build dependencies from the Internet, effectively making
the tests error out in an offline environment.  Passing `--no-isolation`
makes `build` use the already-installed host dependencies instead.

Co-authored-by: Mitja O <dmtree.dev@yahoo.com>
2024-06-23 22:44:57 +00: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
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 Fix Json Info for same version (#511) 2023-09-25 09:58:11 +02:00
test_backend.py Refactor storage operations into separate Backend classes (#348) 2021-02-02 11:44:29 -06:00
test_config.py feat: 🩺 allow customized health check endpoint (#442) 2022-11-02 12:32:20 +01:00
test_core.py Refactor storage operations into separate Backend classes (#348) 2021-02-02 11:44:29 -06:00
test_docs.py Feature/markdown conversion (#503) 2023-08-15 11:16:30 +02:00
test_init.py chore: make the last supported python version explicit in ci.yaml (#558) 2024-04-01 12:23:42 +02:00
test_main.py FEAT: Switch default hash-algo to sha256 (#459) 2023-09-08 12:30:54 +02:00
test_manage.py Refactor storage operations into separate Backend classes (#348) 2021-02-02 11:44:29 -06:00
test_pkg_helpers.py chore: add tar xz test case (#538) 2023-11-13 16:19:52 +01:00
test_server.py test: Fix running build in offline test environment (#571) 2024-06-23 22:44:57 +00:00
test-ignorelist Backwards-compatible argparse config (not yet in use) (#339) 2020-10-08 19:37:39 -05:00