We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent faaddd4 commit 77eab2cCopy full SHA for 77eab2c
tests/test_e2e/test_client.py
@@ -76,8 +76,7 @@ def test_interact_with_workspace_without_encryption(settings):
76
# Verify the generated archive.
77
archives = list(settings.workspace_archive_location.glob("*.json.gz"))
78
assert len(archives) == 1
79
- with gzip.open(archives[0], mode="rt") as handle:
80
- archived_ws: Workspace = Workspace.parse_raw(handle.read())
+ archived_ws: Workspace = Workspace.load(archives[0])
81
assert archived_ws.id == 20081
82
assert archived_ws.name == "structurizr-python e2e-tests - without encryption"
83
assert len(archived_ws.model.software_systems) == 1
0 commit comments