Skip to content

Added and refactored some tests

Nina.Hakansson 2d2bb56
codefactor.io / CodeFactor succeeded Apr 8, 2024 in 1s

8 issues fixed. 5 issues found.

Annotations

Check failure on line 129 in bin/pps_runner.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

bin/pps_runner.py#L129

subprocess call with shell=True identified, security issue. (B602)

Check failure on line 153 in bin/pps_runner.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

bin/pps_runner.py#L153

subprocess call with shell=True identified, security issue. (B602)

Check warning on line 108 in nwcsafpps_runner/tests/test_config.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

nwcsafpps_runner/tests/test_config.py#L108

Probable insecure usage of temp file/directory. (B108)

Check warning on line 128 in nwcsafpps_runner/tests/test_config.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

nwcsafpps_runner/tests/test_config.py#L128

Probable insecure usage of temp file/directory. (B108)

Check notice on line 100 in nwcsafpps_runner/tests/test_nwp_prepare.py

See this annotation in the file changed.

@codefactor-io codefactor-io / CodeFactor

nwcsafpps_runner/tests/test_nwp_prepare.py#L100

multiple spaces after keyword (E271)