Skip to content

Commit 091bf22

Browse files
committed
Fix unit tests
1 parent 17f2f6d commit 091bf22

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/test_terminal.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
def test_terminal_adapter_classes():
7-
all_adapter = _get_adapter_classes()
7+
all_adapter = list(_get_adapter_classes())
88
files = {__inspct.getfile(x) for x in all_adapter}
99
print('all adapter classes:\n', files)
1010
assert len(all_adapter) >= len(files), \

tests/test_wallpaper.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
def test_wallpaper_adapter_classes():
7-
all_adapter = _get_adapter_classes()
7+
all_adapter = list(_get_adapter_classes())
88
files = {__inspct.getfile(x) for x in all_adapter}
99
print('all adapter classes:\n', files)
1010
assert len(all_adapter) >= len(files), \

0 commit comments

Comments
 (0)