Skip to content

Commit 7ad38de

Browse files
repaired loop in test
1 parent a2e969e commit 7ad38de

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
lint-test:
99
runs-on: ubuntu-24.04
1010
env:
11-
PYTHONPATH: ${{ github.workspace }}/src
11+
PYTHONPATH: ${{ github.workspace }}
1212
SERPAPI_KEY: "test-key"
1313

1414
steps:

tests/test_gui.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,8 @@ async def fake_run(q):
3333
g.start()
3434
assert g.btn_start["state"] == "normal"
3535
assert "OK — zapisano" in g.status.get()
36+
try:
37+
g.root.destroy()
38+
except Exception:
39+
pass
3640

0 commit comments

Comments
 (0)