Skip to content

Commit

Permalink
Fix up werk tests after d72f364
Browse files Browse the repository at this point in the history
Change-Id: I9e1016bdd4d5fa131c3fbd664dc05a1ba9b99dc7
  • Loading branch information
TimotheusBachinger committed Nov 16, 2023
1 parent 8677d5c commit c0b4f1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/code_quality/test_werks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit c0b4f1b

Please sign in to comment.