Skip to content

Commit 2782538

Browse files
committed
Only remove files from the test/files subdirectory
Starting traversal at the root of the repository affects other generated files as well, such as the coverage report.
1 parent 3c680c1 commit 2782538

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def read_file_list() -> List[str]:
5858
"""
5959
this_dir = os.path.abspath(os.path.dirname(os.path.abspath(__file__)))
6060
directory = os.path.join(this_dir, "..")
61+
directory = os.path.join(directory, "tests/files/")
6162
logger.info("Collecting file lists from: {}".format(directory))
6263
file_list = []
6364
for root, _, filenames in os.walk(directory):

0 commit comments

Comments
 (0)