debian-forge/osbuild/testutil
Michael Vogt e535877798 test: add new https_serve_directory() and test certs
This commit adds a new `https_serve_directory()` test helper
and some custom self-signed and worthless certs that are used
during testing. They are not dynamically generated to avoid the
extra compuation time during tests (but they could be).

Generated via:
```
$ openssl req -new -newkey rsa:2048  -nodes -x509  \
   -subj "/C=DE/ST=Berlin/L=Berlin/O=Org/CN=localhost"   \
   -keyout "key1.pem" -out "cert1.pem"
```

This will allow us to test `https` download URLs as well in e.g.
the curl source.
2024-07-29 16:51:48 +02:00
..
__init__.py stages: fix test values for "images" inputs 2024-04-29 14:11:44 +02:00
atomic.py testutil: add AtomicCounter() as a threadsafe counter 2024-04-09 03:02:45 +02:00
imports.py Testutil/importlib: don't write bytecode when importing modules 2024-04-22 16:33:59 +02:00
net.py test: add new https_serve_directory() and test certs 2024-07-29 16:51:48 +02:00