debian-forge/sources/test
Michael Vogt d8f38568c0 sources: add tiny unit test for inline source fechting
This commit adds a small unit test that the inline source
works as expected by creating some test_data and then
checking that it ends up in the cache.

Note that this is also already tested in the tests in
osbuild/test/run/test_sources.py but there its a lot more
indirect and in the spirit of tests-as-documentation having
an explicit test here seems useful (its also quicker to
run and easier to discover).

Small followup for https://github.com/osbuild/osbuild/pull/2090
where this was discussed originally.
2025-06-03 20:28:31 +02:00
..
conftest.py sources: add sources_schema() helper 2025-01-14 08:19:16 +01:00
test_container_storage_source.py sources: add new sources_service fixture 2024-04-03 11:36:01 +02:00
test_curl_source.py test: regenerate X509 test certs 2024-11-22 10:15:50 +01:00
test_inline.py sources: add tiny unit test for inline source fechting 2025-06-03 20:28:31 +02:00
test_librepo.py sources: relax "mirror" regexp to follow upstream repo ID 2025-01-14 08:19:16 +01:00
test_ostree_source.py Revert "ostree: introduce optional subpath feature" 2025-02-11 17:39:45 +01:00