From 091bf22de8175e2925373a8009a290af793852d4 Mon Sep 17 00:00:00 2001 From: Charles Milette Date: Sun, 12 Aug 2018 16:13:08 -0400 Subject: [PATCH] Fix unit tests --- tests/test_terminal.py | 2 +- tests/test_wallpaper.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_terminal.py b/tests/test_terminal.py index 95fb98f..45dc449 100644 --- a/tests/test_terminal.py +++ b/tests/test_terminal.py @@ -4,7 +4,7 @@ import inspect as __inspct def test_terminal_adapter_classes(): - all_adapter = _get_adapter_classes() + all_adapter = list(_get_adapter_classes()) files = {__inspct.getfile(x) for x in all_adapter} print('all adapter classes:\n', files) assert len(all_adapter) >= len(files), \ diff --git a/tests/test_wallpaper.py b/tests/test_wallpaper.py index e26072b..9386fc8 100644 --- a/tests/test_wallpaper.py +++ b/tests/test_wallpaper.py @@ -4,7 +4,7 @@ import inspect as __inspct def test_wallpaper_adapter_classes(): - all_adapter = _get_adapter_classes() + all_adapter = list(_get_adapter_classes()) files = {__inspct.getfile(x) for x in all_adapter} print('all adapter classes:\n', files) assert len(all_adapter) >= len(files), \