From d9e324e6ae5950499cbdec1a2c62577c0a2a8e45 Mon Sep 17 00:00:00 2001 From: ruffsl Date: Sat, 4 May 2024 20:13:04 -0500 Subject: [PATCH] Fix package path for linter tests --- test/test_flake8.py | 2 +- test/test_spell_check.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_flake8.py b/test/test_flake8.py index 1bf7006..ab5980f 100644 --- a/test/test_flake8.py +++ b/test/test_flake8.py @@ -33,7 +33,7 @@ def test_flake8(): sys.stdout = sys.stderr # implicitly calls report_errors() report = style_guide.check_files([ - str(Path(__file__).parents[1] / 'colcon_clean'), + str(Path(__file__).parents[1] / 'colcon_cache'), ]) report_tests = style_guide_tests.check_files([ str(Path(__file__).parents[1] / 'test'), diff --git a/test/test_spell_check.py b/test/test_spell_check.py index 48b0dbd..48624b3 100644 --- a/test/test_spell_check.py +++ b/test/test_spell_check.py @@ -22,7 +22,7 @@ def test_spell_check(known_words): source_filenames = [Path(__file__).parents[1] / 'setup.py'] + \ list( - (Path(__file__).parents[1] / 'colcon_clean') + (Path(__file__).parents[1] / 'colcon_cache') .glob('**/*.py')) + \ list((Path(__file__).parents[1] / 'test').glob('**/*.py'))