test: export schemas in testing_libdir_fixture
When constructing a minimal environment for osbuild the exported dirs lacked "schemas" so the test_exports.py test failed on RHEL8. This commit adds it (and also "assemblers" for good measure). With that the test will pass.
This commit is contained in:
parent
94b10403a0
commit
ff10cdb4db
1 changed files with 1 additions and 1 deletions
|
|
@ -58,7 +58,7 @@ def testing_libdir_fixture(tmpdir_factory):
|
||||||
# in buildroot.py
|
# in buildroot.py
|
||||||
(fake_libdir_path / "osbuild").mkdir()
|
(fake_libdir_path / "osbuild").mkdir()
|
||||||
# construct minimal viable libdir from current checkout
|
# construct minimal viable libdir from current checkout
|
||||||
for d in ["stages", "runners", ]:
|
for d in ["stages", "runners", "schemas", "assemblers"]:
|
||||||
subprocess.run(
|
subprocess.run(
|
||||||
["cp", "-a", os.fspath(project_path / d), f"{fake_libdir_path}"],
|
["cp", "-a", os.fspath(project_path / d), f"{fake_libdir_path}"],
|
||||||
check=True)
|
check=True)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue