def test_get_feature_files_valid_folder(self): directory = os.getcwd() + '/testing/feature-files' actual = us.get_feature_files([directory]) expected = [os.path.join(directory, f) for f in os.listdir(directory)] self.assertEqual(actual, expected)
def test_get_feature_files_invalid_folder(self): directory = os.getcwd() + '/a-fake-folder-name/' actual = us.get_feature_files([directory]) expected = [] self.assertEqual(actual, expected)