Skip to content

Commit 3ea4c4c

Browse files
committed
Fixed a few more tests
1 parent f81be69 commit 3ea4c4c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

integration_tests/test_dependency_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def test_fail_to_add(self, tmp_repo):
136136
os.chmod(tmp_repo / self.requirements_file, 0o400)
137137

138138
command = [
139-
"codemodder",
139+
"codemodder_hardening",
140140
tmp_repo,
141141
"--output",
142142
self.output_path,

integration_tests/test_multiple_codemods.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def test_two_codemods(self, codemods, tmpdir):
2525
shutil.copy(pathlib.Path(SAMPLES_DIR) / source_file_name, directory)
2626

2727
command = [
28-
"codemodder",
28+
"codemodder_hardening",
2929
directory,
3030
"--output",
3131
str(codetf_path),

tests/codemods/test_base_codemod.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def test_core_codemod_filter_apply_by_extension(mocker, ext, call_count):
8181
Path("file2.py"),
8282
]
8383

84-
codemod.apply(context)
84+
codemod.apply(context, hardening=True)
8585

8686
assert process_file.call_count == call_count
8787

0 commit comments

Comments
 (0)