def test_sys_match_files_fullpath(self): """Test list of wildcard matched files with absolute filepath""" test_list = system.list_match_files("testfiles/keep/*.txt", True) self.assertEqual(test_list, ["/Users/ces/Desktop/code/naked/tests/testfiles/keep/file1.txt", "/Users/ces/Desktop/code/naked/tests/testfiles/keep/file2.txt", "/Users/ces/Desktop/code/naked/tests/testfiles/keep/metadata.txt"])
def test_sys_match_files(self): """Test list of wildcard matched files with relative filepath""" test_list = system.list_match_files("testfiles/keep/*.txt") self.assertEqual(test_list, ["testfiles/keep/file1.txt", "testfiles/keep/file2.txt", "testfiles/keep/metadata.txt"])