Skip to content

Commit 3e9ee03

Browse files
committed
Replaced method for listing directories files with a simpler one.
1 parent 7b9b6e9 commit 3e9ee03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/compile_tester/test_compile_tester_projects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ def test_compile_local_files(self, tester_login):
3131
"""Tests that we can upload all of cb_compile_tester's projects
3232
(stored locally in test_data/cb_compile_tester), compile them,
3333
and finally delete them."""
34-
filenames = next(os.walk(COMPILE_TESTER_DIR))[2]
34+
filenames = os.listdir(COMPILE_TESTER_DIR)
3535
test_files = [os.path.join(COMPILE_TESTER_DIR, name) for name in filenames]
3636
projects = [self.upload_project('#uploadFolderZip form', fname,
3737
os.path.splitext(os.path.basename(fname))[0]) for fname

0 commit comments

Comments
 (0)