Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
nutti committed Oct 1, 2023
1 parent cd55367 commit 81ce37a
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -888,7 +888,7 @@ def test_single_rules(self):
actual_files_dir = self.output_dir

py_files = [
"module_abc.py",
"module_abc/__init__.py",
]
for file_ in py_files:
expect_file_path = f"{expect_files_dir}/{file_}"
Expand All @@ -899,7 +899,7 @@ def test_single_rules(self):
self.assertTrue(filecmp.cmp(expect_file_path, actual_file_path))

json_files = [
"module_abc.py-dump.json",
"module_abc/__init__.py-dump.json",
]
for file_ in json_files:
expect_file_path = f"{expect_files_dir}/{file_}"
Expand Down Expand Up @@ -957,7 +957,7 @@ def test_multiple_rules(self):
py_files = [
"module_1/__init__.py",
"module_1/submodule_1.py",
"module_2.py",
"module_2/__init__.py",
]
for file_ in py_files:
expect_file_path = f"{expect_files_dir}/{file_}"
Expand All @@ -970,7 +970,7 @@ def test_multiple_rules(self):
json_files = [
"module_1/__init__.py-dump.json",
"module_1/submodule_1.py-dump.json",
"module_2.py-dump.json",
"module_2/__init__.py-dump.json",
]
for file_ in json_files:
expect_file_path = f"{expect_files_dir}/{file_}"
Expand Down Expand Up @@ -1019,7 +1019,7 @@ def test_exceptional_rules(self):
actual_files_dir = self.output_dir

py_files = [
"module_exceptional.py",
"module_exceptional/__init__.py",
]
for file_ in py_files:
expect_file_path = f"{expect_files_dir}/{file_}"
Expand All @@ -1030,7 +1030,7 @@ def test_exceptional_rules(self):
self.assertTrue(filecmp.cmp(expect_file_path, actual_file_path))

json_files = [
"module_exceptional.py-dump.json",
"module_exceptional/__init__.py-dump.json",
]
for file_ in json_files:
expect_file_path = f"{expect_files_dir}/{file_}"
Expand Down

0 comments on commit 81ce37a

Please sign in to comment.