diff --git a/tests/unit/test_dir_list.py b/tests/unit/test_dir_list.py index 8a92e9bb..0f9fb41e 100644 --- a/tests/unit/test_dir_list.py +++ b/tests/unit/test_dir_list.py @@ -20,8 +20,8 @@ def test_dir_list(bugtool): bugtool.dir_list(cap=cap, path_list=[__file__ + "*notexist*"]) assert bugtool.data == {} - # Assert that matching cap and file pattern causes an entry by glob of path_list to be added: - bugtool.dir_list(cap=cap, path_list=path_list) # matching cap and path_list + # Assert matching cap and path_list produces expected_data + bugtool.dir_list(cap=cap, path_list=path_list) # This assert shows that dir_list() needs an update for Python3: if sys.version_info.major > 2: