Skip to content

Commit f3f30d9

Browse files
committed
Refactor subprocess call in test_full_cmorisation to enhance security by removing unnecessary nosec comments
1 parent a992411 commit f3f30d9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/integration/test_full_cmorisation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ def _validate_with_prepare(self, output_file, cmor_name, table_path):
163163
table_arg,
164164
output_arg,
165165
]
166-
result = subprocess.run( # noqa: S603 # nosec B603
166+
result = subprocess.run( # nosec
167167
cmd_args, capture_output=True, text=True, check=False, shell=False
168-
) # noqa: S603 # nosec B603
168+
)
169169

170170
if result.returncode != 0:
171171
pytest.fail(

0 commit comments

Comments
 (0)