cli test_vars: make output check less sensible to nix output

This commit is contained in:
lassulus
2024-12-14 13:42:31 +01:00
parent 9cc3bdbc9f
commit f184128433

View File

@@ -858,7 +858,7 @@ def test_stdout_of_generate(
"my_generator", "my_generator",
regenerate=True, regenerate=True,
) )
assert "Updated" not in caplog.text assert "Updated var" not in caplog.text
assert "hello" in caplog.text assert "hello" in caplog.text
caplog.clear() caplog.clear()
with caplog.at_level(logging.INFO): with caplog.at_level(logging.INFO):