debian-forge/test/run
Tomáš Hozza 3100882019 Don't use directory argument with SimpleHTTPRequestHandler constructor
The `directory` argument has been added only since Python 3.7, which
breaks the unit test on Python 3.6.

Reimplement the intended behavior by overriding the `translate_path()`
method, which takes the `directory` value into account on newer Python
versions.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
2023-04-26 11:43:13 +02:00
..
__init__.py test: '{. -> ./run}/test_sources.py' 2020-04-24 15:50:44 +02:00
test_assemblers.py Test/assemblers/assertImageFile: don't set default argument values 2023-04-21 17:13:10 +02:00
test_boot.py test: explicit encodings for open() 2022-09-09 15:33:29 +02:00
test_devices.py test: explicit encodings for open() 2022-09-09 15:33:29 +02:00
test_executable.py test: fix executable test 2022-02-15 13:25:23 +00:00
test_mount.py Don't use capture_output=True with subprocess.run() 2023-04-26 11:43:13 +02:00
test_noop.py osbuild: run isort on all files 2022-09-12 13:32:51 +02:00
test_sources.py Don't use directory argument with SimpleHTTPRequestHandler constructor 2023-04-26 11:43:13 +02:00
test_stages.py Don't use capture_output=True with subprocess.run() 2023-04-26 11:43:13 +02:00