From 6e8562f712330deed2ca149f3e1f931f9c8d36e5 Mon Sep 17 00:00:00 2001 From: David Rheinsberg Date: Wed, 27 May 2020 13:50:53 +0200 Subject: [PATCH] test: make source-tests relative to ./test/data/ This moves the `sources_tests` into ./test/data/sources/ and makes the entire test use `locate_test_data()` to get relative paths for their accesses. This further improves our test cases to support running from installments rather than local checkouts. We need access to ./test/data guarded, so we can install packages and still have the tests access the correct paths. This also adjusts the HTTP-Server we use in the test to serve data relative to a path it is handed. I now chose `./test/data`, which will easily allow us to re-use the same HTTP-Server in the future for other tests that require it. --- test/data/README.md | 5 +++ .../org.osbuild.files/cases/empty.json | 0 .../cases/invalid_checksum.json | 0 .../org.osbuild.files/cases/missing_file.json | 0 .../org.osbuild.files/cases/success.json | 0 .../cases/unknown_checksum.json | 0 .../sources}/org.osbuild.files/data/a | 0 .../sources}/org.osbuild.files/data/b | 0 .../sources}/org.osbuild.files/data/c | 0 .../sources}/org.osbuild.files/data/d | 0 .../sources}/org.osbuild.files/data/e | 0 .../sources}/org.osbuild.files/data/f | 0 .../sources}/org.osbuild.files/data/g | 0 .../sources}/org.osbuild.files/data/h | 0 .../sources}/org.osbuild.files/data/i | 0 .../sources}/org.osbuild.files/data/j | 0 .../sources}/org.osbuild.files/data/k | 0 .../sources}/org.osbuild.files/data/l | 0 .../sources}/org.osbuild.files/data/m | 0 .../sources}/org.osbuild.files/data/n | 0 .../sources}/org.osbuild.files/data/o | 0 .../sources}/org.osbuild.files/data/p | 0 .../sources}/org.osbuild.files/data/q | 0 .../sources}/org.osbuild.files/data/r | 0 .../sources}/org.osbuild.files/data/s | 0 .../sources}/org.osbuild.files/data/t | 0 .../sources}/org.osbuild.files/data/u | 0 .../sources}/org.osbuild.files/data/v | 0 .../sources}/org.osbuild.files/data/w | 0 .../sources}/org.osbuild.files/data/x | 0 .../sources}/org.osbuild.files/data/y | 0 .../sources}/org.osbuild.files/data/z | 0 .../sources/org.osbuild.files/sources.json | 34 +++++++++++++++++++ test/run/test_sources.py | 20 +++++++---- .../org.osbuild.files/sources.json | 34 ------------------- 35 files changed, 52 insertions(+), 41 deletions(-) rename test/{sources_tests => data/sources}/org.osbuild.files/cases/empty.json (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/cases/invalid_checksum.json (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/cases/missing_file.json (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/cases/success.json (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/cases/unknown_checksum.json (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/a (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/b (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/c (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/d (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/e (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/f (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/g (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/h (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/i (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/j (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/k (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/l (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/m (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/n (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/o (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/p (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/q (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/r (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/s (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/t (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/u (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/v (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/w (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/x (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/y (100%) rename test/{sources_tests => data/sources}/org.osbuild.files/data/z (100%) create mode 100644 test/data/sources/org.osbuild.files/sources.json delete mode 100644 test/sources_tests/org.osbuild.files/sources.json diff --git a/test/data/README.md b/test/data/README.md index 0b45f0fa..ea18653a 100644 --- a/test/data/README.md +++ b/test/data/README.md @@ -28,3 +28,8 @@ do not allow comments, this file shortly describes their purpose. then stored in the same directory with the `mpp-*` prefix dropped. The generated files are committed to the repository. Nevertheless, if you need to regenerate them, use `make test-data`. + + * `./sources/`: + This directory contains test-data for runtime tests of the source-engines. It + contains a directory that is served via HTTP in the tests, and a directory of + test-cases what to expect when using the attached `sources.json`. diff --git a/test/sources_tests/org.osbuild.files/cases/empty.json b/test/data/sources/org.osbuild.files/cases/empty.json similarity index 100% rename from test/sources_tests/org.osbuild.files/cases/empty.json rename to test/data/sources/org.osbuild.files/cases/empty.json diff --git a/test/sources_tests/org.osbuild.files/cases/invalid_checksum.json b/test/data/sources/org.osbuild.files/cases/invalid_checksum.json similarity index 100% rename from test/sources_tests/org.osbuild.files/cases/invalid_checksum.json rename to test/data/sources/org.osbuild.files/cases/invalid_checksum.json diff --git a/test/sources_tests/org.osbuild.files/cases/missing_file.json b/test/data/sources/org.osbuild.files/cases/missing_file.json similarity index 100% rename from test/sources_tests/org.osbuild.files/cases/missing_file.json rename to test/data/sources/org.osbuild.files/cases/missing_file.json diff --git a/test/sources_tests/org.osbuild.files/cases/success.json b/test/data/sources/org.osbuild.files/cases/success.json similarity index 100% rename from test/sources_tests/org.osbuild.files/cases/success.json rename to test/data/sources/org.osbuild.files/cases/success.json diff --git a/test/sources_tests/org.osbuild.files/cases/unknown_checksum.json b/test/data/sources/org.osbuild.files/cases/unknown_checksum.json similarity index 100% rename from test/sources_tests/org.osbuild.files/cases/unknown_checksum.json rename to test/data/sources/org.osbuild.files/cases/unknown_checksum.json diff --git a/test/sources_tests/org.osbuild.files/data/a b/test/data/sources/org.osbuild.files/data/a similarity index 100% rename from test/sources_tests/org.osbuild.files/data/a rename to test/data/sources/org.osbuild.files/data/a diff --git a/test/sources_tests/org.osbuild.files/data/b b/test/data/sources/org.osbuild.files/data/b similarity index 100% rename from test/sources_tests/org.osbuild.files/data/b rename to test/data/sources/org.osbuild.files/data/b diff --git a/test/sources_tests/org.osbuild.files/data/c b/test/data/sources/org.osbuild.files/data/c similarity index 100% rename from test/sources_tests/org.osbuild.files/data/c rename to test/data/sources/org.osbuild.files/data/c diff --git a/test/sources_tests/org.osbuild.files/data/d b/test/data/sources/org.osbuild.files/data/d similarity index 100% rename from test/sources_tests/org.osbuild.files/data/d rename to test/data/sources/org.osbuild.files/data/d diff --git a/test/sources_tests/org.osbuild.files/data/e b/test/data/sources/org.osbuild.files/data/e similarity index 100% rename from test/sources_tests/org.osbuild.files/data/e rename to test/data/sources/org.osbuild.files/data/e diff --git a/test/sources_tests/org.osbuild.files/data/f b/test/data/sources/org.osbuild.files/data/f similarity index 100% rename from test/sources_tests/org.osbuild.files/data/f rename to test/data/sources/org.osbuild.files/data/f diff --git a/test/sources_tests/org.osbuild.files/data/g b/test/data/sources/org.osbuild.files/data/g similarity index 100% rename from test/sources_tests/org.osbuild.files/data/g rename to test/data/sources/org.osbuild.files/data/g diff --git a/test/sources_tests/org.osbuild.files/data/h b/test/data/sources/org.osbuild.files/data/h similarity index 100% rename from test/sources_tests/org.osbuild.files/data/h rename to test/data/sources/org.osbuild.files/data/h diff --git a/test/sources_tests/org.osbuild.files/data/i b/test/data/sources/org.osbuild.files/data/i similarity index 100% rename from test/sources_tests/org.osbuild.files/data/i rename to test/data/sources/org.osbuild.files/data/i diff --git a/test/sources_tests/org.osbuild.files/data/j b/test/data/sources/org.osbuild.files/data/j similarity index 100% rename from test/sources_tests/org.osbuild.files/data/j rename to test/data/sources/org.osbuild.files/data/j diff --git a/test/sources_tests/org.osbuild.files/data/k b/test/data/sources/org.osbuild.files/data/k similarity index 100% rename from test/sources_tests/org.osbuild.files/data/k rename to test/data/sources/org.osbuild.files/data/k diff --git a/test/sources_tests/org.osbuild.files/data/l b/test/data/sources/org.osbuild.files/data/l similarity index 100% rename from test/sources_tests/org.osbuild.files/data/l rename to test/data/sources/org.osbuild.files/data/l diff --git a/test/sources_tests/org.osbuild.files/data/m b/test/data/sources/org.osbuild.files/data/m similarity index 100% rename from test/sources_tests/org.osbuild.files/data/m rename to test/data/sources/org.osbuild.files/data/m diff --git a/test/sources_tests/org.osbuild.files/data/n b/test/data/sources/org.osbuild.files/data/n similarity index 100% rename from test/sources_tests/org.osbuild.files/data/n rename to test/data/sources/org.osbuild.files/data/n diff --git a/test/sources_tests/org.osbuild.files/data/o b/test/data/sources/org.osbuild.files/data/o similarity index 100% rename from test/sources_tests/org.osbuild.files/data/o rename to test/data/sources/org.osbuild.files/data/o diff --git a/test/sources_tests/org.osbuild.files/data/p b/test/data/sources/org.osbuild.files/data/p similarity index 100% rename from test/sources_tests/org.osbuild.files/data/p rename to test/data/sources/org.osbuild.files/data/p diff --git a/test/sources_tests/org.osbuild.files/data/q b/test/data/sources/org.osbuild.files/data/q similarity index 100% rename from test/sources_tests/org.osbuild.files/data/q rename to test/data/sources/org.osbuild.files/data/q diff --git a/test/sources_tests/org.osbuild.files/data/r b/test/data/sources/org.osbuild.files/data/r similarity index 100% rename from test/sources_tests/org.osbuild.files/data/r rename to test/data/sources/org.osbuild.files/data/r diff --git a/test/sources_tests/org.osbuild.files/data/s b/test/data/sources/org.osbuild.files/data/s similarity index 100% rename from test/sources_tests/org.osbuild.files/data/s rename to test/data/sources/org.osbuild.files/data/s diff --git a/test/sources_tests/org.osbuild.files/data/t b/test/data/sources/org.osbuild.files/data/t similarity index 100% rename from test/sources_tests/org.osbuild.files/data/t rename to test/data/sources/org.osbuild.files/data/t diff --git a/test/sources_tests/org.osbuild.files/data/u b/test/data/sources/org.osbuild.files/data/u similarity index 100% rename from test/sources_tests/org.osbuild.files/data/u rename to test/data/sources/org.osbuild.files/data/u diff --git a/test/sources_tests/org.osbuild.files/data/v b/test/data/sources/org.osbuild.files/data/v similarity index 100% rename from test/sources_tests/org.osbuild.files/data/v rename to test/data/sources/org.osbuild.files/data/v diff --git a/test/sources_tests/org.osbuild.files/data/w b/test/data/sources/org.osbuild.files/data/w similarity index 100% rename from test/sources_tests/org.osbuild.files/data/w rename to test/data/sources/org.osbuild.files/data/w diff --git a/test/sources_tests/org.osbuild.files/data/x b/test/data/sources/org.osbuild.files/data/x similarity index 100% rename from test/sources_tests/org.osbuild.files/data/x rename to test/data/sources/org.osbuild.files/data/x diff --git a/test/sources_tests/org.osbuild.files/data/y b/test/data/sources/org.osbuild.files/data/y similarity index 100% rename from test/sources_tests/org.osbuild.files/data/y rename to test/data/sources/org.osbuild.files/data/y diff --git a/test/sources_tests/org.osbuild.files/data/z b/test/data/sources/org.osbuild.files/data/z similarity index 100% rename from test/sources_tests/org.osbuild.files/data/z rename to test/data/sources/org.osbuild.files/data/z diff --git a/test/data/sources/org.osbuild.files/sources.json b/test/data/sources/org.osbuild.files/sources.json new file mode 100644 index 00000000..581a6ed4 --- /dev/null +++ b/test/data/sources/org.osbuild.files/sources.json @@ -0,0 +1,34 @@ +{ + "org.osbuild.files": { + "urls": { + "sha256:87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7": "http://localhost/sources/org.osbuild.files/data/a", + "sha256:0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f": "http://localhost/sources/org.osbuild.files/data/b", + "sha256:a3a5e715f0cc574a73c3f9bebb6bc24f32ffd5b67b387244c2c909da779a1478": "http://localhost/sources/org.osbuild.files/data/c", + "sha256:8d74beec1be996322ad76813bafb92d40839895d6dd7ee808b17ca201eac98be": "http://localhost/sources/org.osbuild.files/data/d", + "sha256:a2bbdb2de53523b8099b37013f251546f3d65dbe7a0774fa41af0a4176992fd4": "http://localhost/sources/org.osbuild.files/data/e", + "sha256:092fcfbbcfca3b5be7ae1b5e58538e92c35ab273ae13664fed0d67484c8e78a6": "http://localhost/sources/org.osbuild.files/data/f", + "sha256:768c71d785bf6bbbf8c4d6af6582041f2659027140a962cd0c55b11eddfd5e3d": "http://localhost/sources/org.osbuild.files/data/g", + "sha256:91ee5e9f42ba3d34e414443b36a27b797a56a47aad6bb1e4c1769e69c77ce0ca": "http://localhost/sources/org.osbuild.files/data/h", + "sha256:50c393f158c3de2db92fa9661bfb00eda5b67c3a777c88524ed3417509631625": "http://localhost/sources/org.osbuild.files/data/i", + "sha256:cee00b08a818db87e17e703273818e5194f83280e1ef3eae9214ff14675d9e6d": "http://localhost/sources/org.osbuild.files/data/j", + "sha256:19732980d68fbd00358a0a4d98246c960400b87e4fa2a2e155db98be2b42ed6c": "http://localhost/sources/org.osbuild.files/data/k", + "sha256:6d7ebc44c5bc26207e62f4f628f912e1a0f41ed11764891aa7dd99eab83228e7": "http://localhost/sources/org.osbuild.files/data/l", + "sha256:01a60e35df88d8b49546cb3f8f4ba4f406870f9b8e1f394c9d48ab73548d748d": "http://localhost/sources/org.osbuild.files/data/m", + "sha256:a4fb621495a0122493b2203591c448903c472e306a1ede54fabad829e01075c0": "http://localhost/sources/org.osbuild.files/data/n", + "sha256:7427d152005f9ed0fa31c76ef9963cf4bb47dce6e2768111d9eb0edbfe59c704": "http://localhost/sources/org.osbuild.files/data/o", + "sha256:fd6641673e7f3bf6e80e4bc5401fcb2821a1e117206c8e1c65cef23a58dc37ff": "http://localhost/sources/org.osbuild.files/data/p", + "sha256:4adc33bd9fe74303c344be46e5916d65182fb218e248fe80452ab3f025b06c64": "http://localhost/sources/org.osbuild.files/data/q", + "sha256:8e54b0ca18020275e4aef1ca0eb5e197e066c065c1864817652a8a39c55402cd": "http://localhost/sources/org.osbuild.files/data/r", + "sha256:cbc80bb5c0c0f8944bf73b3a429505ac5cde16644978bc9a1e74c5755f8ca556": "http://localhost/sources/org.osbuild.files/data/s", + "sha256:fe8edeeb98cc6d3b93cf2d57000254b84bd9eba34b4df7ce4b87db8b937b7703": "http://localhost/sources/org.osbuild.files/data/t", + "sha256:ea46748e171abd2dd4dba5b86bb6589334d86bba2df8d50cbb16b36c83b0856a": "http://localhost/sources/org.osbuild.files/data/u", + "sha256:73324e1ab1db72ee9eb4fdf1c90a586d67e00ab58330d1cbfea26ecd0a77fa4d": "http://localhost/sources/org.osbuild.files/data/v", + "sha256:cf945b5236e101dbe0471d5200f28b1ae64f21c1f35bf55fcf40cd0fe42cd8e7": "http://localhost/sources/org.osbuild.files/data/w", + "sha256:73cb3858a687a8494ca3323053016282f3dad39d42cf62ca4e79dda2aac7d9ac": "http://localhost/sources/org.osbuild.files/data/x", + "sha256:3bb2abb69ebb27fbfe63c7639624c6ec5e331b841a5bc8c3ebc10b9285e90877": "http://localhost/sources/org.osbuild.files/data/y", + "sha256:c865f6c5ab8d1b0bcd383a5e1e3879d22681c96bf462c269b7581d523fbe70ab": "http://localhost/sources/org.osbuild.files/data/z", + "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": "http://localhost/sources/org.osbuild.files/data/a", + "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb": "http://localhost/sources/org.osbuild.files/data/missing" + } + } +} diff --git a/test/run/test_sources.py b/test/run/test_sources.py index 8bbb35dd..2e8830eb 100644 --- a/test/run/test_sources.py +++ b/test/run/test_sources.py @@ -14,6 +14,7 @@ import threading import unittest import osbuild.sources +from .. import test def errcheck(ret, _func, _args): @@ -44,27 +45,32 @@ def netns(): @contextlib.contextmanager -def fileServer(): +def fileServer(directory): with netns(): # This is leaked until the program exits, but inaccessible after the with # due to the network namespace. barrier = threading.Barrier(2) - thread = threading.Thread(target=runFileServer, args=(barrier,)) + thread = threading.Thread(target=runFileServer, args=(barrier, directory)) thread.daemon = True thread.start() barrier.wait() yield -def runFileServer(barrier): - httpd = socketserver.TCPServer(('', 80), http.server.SimpleHTTPRequestHandler) +def runFileServer(barrier, directory): + class Handler(http.server.SimpleHTTPRequestHandler): + def __init__(self, request, client_address, server): + super().__init__(request, client_address, server, directory=directory) + + httpd = socketserver.TCPServer(('', 80), Handler) barrier.wait() httpd.serve_forever() -class TestSources(unittest.TestCase): +@unittest.skipUnless(test.TestBase.have_test_data(), "no test-data access") +class TestSources(test.TestBase): def setUp(self): - self.sources = 'test/sources_tests' + self.sources = os.path.join(self.locate_test_data(), "sources") def check_case(self, source, case, api_path): @@ -89,7 +95,7 @@ class TestSources(unittest.TestCase): with open(f"{self.sources}/{source}/cases/{case}") as f: case_options = json.load(f) with tempfile.TemporaryDirectory() as tmpdir, \ - fileServer(), \ + fileServer(self.locate_test_data()), \ osbuild.sources.SourcesServer( f"{tmpdir}/sources-api", "./", source_options, diff --git a/test/sources_tests/org.osbuild.files/sources.json b/test/sources_tests/org.osbuild.files/sources.json deleted file mode 100644 index c81897e9..00000000 --- a/test/sources_tests/org.osbuild.files/sources.json +++ /dev/null @@ -1,34 +0,0 @@ -{ - "org.osbuild.files": { - "urls": { - "sha256:87428fc522803d31065e7bce3cf03fe475096631e5e07bbd7a0fde60c4cf25c7": "http://localhost/test/sources_tests/org.osbuild.files/data/a", - "sha256:0263829989b6fd954f72baaf2fc64bc2e2f01d692d4de72986ea808f6e99813f": "http://localhost/test/sources_tests/org.osbuild.files/data/b", - "sha256:a3a5e715f0cc574a73c3f9bebb6bc24f32ffd5b67b387244c2c909da779a1478": "http://localhost/test/sources_tests/org.osbuild.files/data/c", - "sha256:8d74beec1be996322ad76813bafb92d40839895d6dd7ee808b17ca201eac98be": "http://localhost/test/sources_tests/org.osbuild.files/data/d", - "sha256:a2bbdb2de53523b8099b37013f251546f3d65dbe7a0774fa41af0a4176992fd4": "http://localhost/test/sources_tests/org.osbuild.files/data/e", - "sha256:092fcfbbcfca3b5be7ae1b5e58538e92c35ab273ae13664fed0d67484c8e78a6": "http://localhost/test/sources_tests/org.osbuild.files/data/f", - "sha256:768c71d785bf6bbbf8c4d6af6582041f2659027140a962cd0c55b11eddfd5e3d": "http://localhost/test/sources_tests/org.osbuild.files/data/g", - "sha256:91ee5e9f42ba3d34e414443b36a27b797a56a47aad6bb1e4c1769e69c77ce0ca": "http://localhost/test/sources_tests/org.osbuild.files/data/h", - "sha256:50c393f158c3de2db92fa9661bfb00eda5b67c3a777c88524ed3417509631625": "http://localhost/test/sources_tests/org.osbuild.files/data/i", - "sha256:cee00b08a818db87e17e703273818e5194f83280e1ef3eae9214ff14675d9e6d": "http://localhost/test/sources_tests/org.osbuild.files/data/j", - "sha256:19732980d68fbd00358a0a4d98246c960400b87e4fa2a2e155db98be2b42ed6c": "http://localhost/test/sources_tests/org.osbuild.files/data/k", - "sha256:6d7ebc44c5bc26207e62f4f628f912e1a0f41ed11764891aa7dd99eab83228e7": "http://localhost/test/sources_tests/org.osbuild.files/data/l", - "sha256:01a60e35df88d8b49546cb3f8f4ba4f406870f9b8e1f394c9d48ab73548d748d": "http://localhost/test/sources_tests/org.osbuild.files/data/m", - "sha256:a4fb621495a0122493b2203591c448903c472e306a1ede54fabad829e01075c0": "http://localhost/test/sources_tests/org.osbuild.files/data/n", - "sha256:7427d152005f9ed0fa31c76ef9963cf4bb47dce6e2768111d9eb0edbfe59c704": "http://localhost/test/sources_tests/org.osbuild.files/data/o", - "sha256:fd6641673e7f3bf6e80e4bc5401fcb2821a1e117206c8e1c65cef23a58dc37ff": "http://localhost/test/sources_tests/org.osbuild.files/data/p", - "sha256:4adc33bd9fe74303c344be46e5916d65182fb218e248fe80452ab3f025b06c64": "http://localhost/test/sources_tests/org.osbuild.files/data/q", - "sha256:8e54b0ca18020275e4aef1ca0eb5e197e066c065c1864817652a8a39c55402cd": "http://localhost/test/sources_tests/org.osbuild.files/data/r", - "sha256:cbc80bb5c0c0f8944bf73b3a429505ac5cde16644978bc9a1e74c5755f8ca556": "http://localhost/test/sources_tests/org.osbuild.files/data/s", - "sha256:fe8edeeb98cc6d3b93cf2d57000254b84bd9eba34b4df7ce4b87db8b937b7703": "http://localhost/test/sources_tests/org.osbuild.files/data/t", - "sha256:ea46748e171abd2dd4dba5b86bb6589334d86bba2df8d50cbb16b36c83b0856a": "http://localhost/test/sources_tests/org.osbuild.files/data/u", - "sha256:73324e1ab1db72ee9eb4fdf1c90a586d67e00ab58330d1cbfea26ecd0a77fa4d": "http://localhost/test/sources_tests/org.osbuild.files/data/v", - "sha256:cf945b5236e101dbe0471d5200f28b1ae64f21c1f35bf55fcf40cd0fe42cd8e7": "http://localhost/test/sources_tests/org.osbuild.files/data/w", - "sha256:73cb3858a687a8494ca3323053016282f3dad39d42cf62ca4e79dda2aac7d9ac": "http://localhost/test/sources_tests/org.osbuild.files/data/x", - "sha256:3bb2abb69ebb27fbfe63c7639624c6ec5e331b841a5bc8c3ebc10b9285e90877": "http://localhost/test/sources_tests/org.osbuild.files/data/y", - "sha256:c865f6c5ab8d1b0bcd383a5e1e3879d22681c96bf462c269b7581d523fbe70ab": "http://localhost/test/sources_tests/org.osbuild.files/data/z", - "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa": "http://localhost/test/sources_tests/org.osbuild.files/data/a", - "sha256:bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb": "http://localhost/test/sources_tests/org.osbuild.files/data/missing" - } - } -}