clan-vm-manager: Fix regression

This commit is contained in:
Qubasa
2024-07-29 17:33:42 +02:00
parent 35e5ad513d
commit 0dcc9f903b
8 changed files with 15 additions and 22 deletions

View File

@@ -27,7 +27,7 @@ def test_history_add(
history_file = user_history_file()
assert history_file.exists()
history = [HistoryEntry(**entry) for entry in json.loads(open(history_file).read())]
assert history[0].flake.flake_url == str(test_flake_with_core.path)
assert str(history[0].flake.flake_url["loc"]) == str(test_flake_with_core.path)
@pytest.mark.impure