mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Fix for windows test
This commit is contained in:
parent
49eaa87d4a
commit
885d144e92
1 changed files with 2 additions and 2 deletions
|
|
@ -1109,7 +1109,7 @@ class TestOnNextTranscriptionExport:
|
|||
widget.on_next_transcription("second")
|
||||
|
||||
with open(export_path, newline="") as f:
|
||||
rows = list(csv.reader(f))
|
||||
rows = [r for r in csv.reader(f) if r]
|
||||
assert len(rows) == 1
|
||||
assert rows[0][0] == "second"
|
||||
assert rows[0][1] == "first"
|
||||
|
|
@ -1139,7 +1139,7 @@ class TestOnNextTranscriptionExport:
|
|||
widget.on_next_transcription("third")
|
||||
|
||||
with open(export_path, newline="") as f:
|
||||
rows = list(csv.reader(f))
|
||||
rows = [r for r in csv.reader(f) if r]
|
||||
assert len(rows) == 1
|
||||
assert len(rows[0]) == 2
|
||||
assert rows[0][0] == "third"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue