debian-forge/test
Christian Kellner 9e5e179128 test: add method to copy source data from cache
Add a new method that will copy the downloaded data for a specified
source to a directory, creating a directory structure so that the
target directory can then be used to initialize the osbuild cache,
i.e. the target directory be used for the `cache_from` parameter in
the `test.OSBuild` constructor.
The main reason why this is done per source, and not for all sources,
is that not all source can be copied via a plain `cp` operation or
easily added to, in case that the `target` directory already contains
data. The `org.osbuild.ostree` source is such an example.
2020-10-09 15:32:31 +02:00
..
data test/stages: metadata checks for the rpm stage 2020-08-13 10:50:34 +02:00
external-repos ⚙ Bring over CI improvements from osbuild-composer 2020-07-14 13:05:18 +02:00
mod test/api: assert return code for api.exception 2020-10-09 10:47:44 +02:00
pipelines test: move all test manifests to get fedora packages from kernel mirrors 2020-06-07 22:08:34 +02:00
run osbuild: fix spelling mistakes found by codespell 2020-10-06 14:41:00 +02:00
src test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
test.py test: add method to copy source data from cache 2020-10-09 15:32:31 +02:00