selftests/functional/list.py
Consider possible security implications associated with subprocess module. Open
Open
import subprocess
- Exclude checks
subprocess call with shell=True identified, security issue. Open
Open
test_process = subprocess.Popen(
cmd_line,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
preexec_fn=os.setsid,
- Exclude checks
File list.py
has 253 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
import json
import os
import signal
import stat
import subprocess
Function _test
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
def _test(self, name, content, exp_str, mode=MODE_0664, count=1):