debian-forge/osbuild/testutil
Michael Vogt cee0615f4d testutil: add http_serve_director() test helper
To test the curl sources it is very useful to have a small httpd
server that can serve an arbitrary directory. This helper will
ensure that via:
```python
with with osbuild.testutil.net.http_serve_directory(fake_httpd_root) as httpd:
    port = httpd.server_port
    # download from http://localhost:{port}/<any-path-under-httpd-root>
```
2024-04-05 16:42:07 +02:00
..
__init__.py testutil: extract find_one_subclass_in_module() helper 2024-04-03 11:36:01 +02:00
imports.py osbuild: add new testutil.imports module to help test stages 2023-11-07 15:12:08 +01:00
net.py testutil: add http_serve_director() test helper 2024-04-05 16:42:07 +02:00