From c0b4f1b882cb01303b81d86e512175ed7480ddca Mon Sep 17 00:00:00 2001 From: Timotheus Bachinger Date: Thu, 16 Nov 2023 09:35:12 +0100 Subject: [PATCH] Fix up werk tests after d72f36480f701d794a6cf238addcad18d01ed062 Change-Id: I9e1016bdd4d5fa131c3fbd664dc05a1ba9b99dc7 --- tests/code_quality/test_werks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/code_quality/test_werks.py b/tests/code_quality/test_werks.py index ec437902098..b247a676354 100644 --- a/tests/code_quality/test_werks.py +++ b/tests/code_quality/test_werks.py @@ -55,7 +55,8 @@ def test_write_precompiled_werks(tmp_path: Path, monkeypatch: pytest.MonkeyPatch assert len(cce_werks) > 10 cmk.utils.werks.write_precompiled_werks(Path(tmp_dir) / "werks-cloud", cce_werks) - assert len(cse_werks) >= 1 + # We currently don't have cse werks (yet) + assert len(cse_werks) == 0 cmk.utils.werks.write_precompiled_werks(Path(tmp_dir) / "werks-saas", cse_werks) monkeypatch.setattr(cmk.utils.werks, "_compiled_werks_dir", lambda: Path(tmp_dir))