Add an integration test for a podman build

This commit is contained in:
Joe Rickerby
2022-06-27 19:08:46 +01:00
parent e5ef3c1b76
commit f23d8aaae5
5 changed files with 70 additions and 34 deletions
+4 -2
View File
@@ -17,8 +17,10 @@ def test_spam():
"""
@pytest.mark.emulation
def test(tmp_path):
def test(tmp_path, request):
if not request.config.getoption("--run-emulation"):
pytest.skip("needs --run-emulation option to run")
project_dir = tmp_path / "project"
project_with_a_test.generate(project_dir)