Skip to content

Commit 9e03b44

Browse files
yt-msMidnighter
authored andcommitted
dods(e2e tests): fix flake8 warnings
1 parent 53782c9 commit 9e03b44

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/e2e/test_client.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737

3838
@pytest.fixture(scope="module")
3939
def archive_location(tmp_path_factory):
40+
"""Provide a path for archive files for test cases."""
4041
location = tmp_path_factory.mktemp("structurizr")
4142
return str(location)
4243

@@ -53,6 +54,7 @@ def settings(archive_location):
5354

5455

5556
def test_empty_workspace_without_encryption(settings):
57+
"""Test basic upload and download of an empty workspace."""
5658
workspace = Workspace(
5759
id=settings.workspace_id,
5860
name="e2e-tests - without encryption",
@@ -66,6 +68,7 @@ def test_empty_workspace_without_encryption(settings):
6668

6769

6870
def test_interact_with_workspace_without_encryption(settings):
71+
"""Test basic upload and download of a populated workspace."""
6972
# Set up a toy workspace.
7073
workspace = Workspace(
7174
id=settings.workspace_id,
@@ -100,13 +103,15 @@ def test_interact_with_workspace_without_encryption(settings):
100103

101104

102105
def test_lock_workspace(settings):
106+
"""Check locking a workspace."""
103107
client = StructurizrClient(settings=settings)
104108
client.unlock_workspace()
105109
assert client.lock_workspace()
106110
client.close()
107111

108112

109113
def test_unlock_workspace(settings):
114+
"""Check unlocking a workspace."""
110115
client = StructurizrClient(settings=settings)
111116
client.lock_workspace()
112117
assert client.unlock_workspace()

0 commit comments

Comments
 (0)