Some fixes on IP Cam profiles Dahua.DH, Beward.BD, Hikvision.DSKV8

6 jobs for patch-avs-refactor-ip-cam in 1 minute and 57 seconds
Status Job ID Name Coverage
  Lint
passed #42749
docker
flake8

00:00:23

passed #42753
docker
futurize

00:00:22

passed #42752
docker
pylint

00:00:22

failed #42751
docker allowed to fail
radon

00:00:11

failed #42750
docker allowed to fail
yapf

00:00:20

 
  Test
failed #42754
docker allowed to fail
test_noc

00:01:33

21.0%
 
Name Stage Failure
failed
test_noc Test
Coverage            : 21%
Coverage Statements : 20674
Coverage Missing : 16237
Coverage Excluded : 1
Uploading artifacts...
./var/coverage: found 378 matching files
./var/report: found 2 matching files

Uploading artifacts to coordinator... ok
id=42754 responseStatus=201 Created token=uXJzu6_5
ERROR: Job failed: exit code 2
failed
yapf Lint
+        res = self.http.get(
+ "/cgi-bin/admin/param.cgi?action=list", json=False, cached=True, use_basic=True
+ )
r = {}
for x in res.splitlines():
if not x:
Reformatting sa/profiles/Dahua/DH/get_version.py
Reformatting sa/profiles/Hikvision/DSKV8/get_version.py
ERROR: Job failed: exit code 1
failed
radon Lint
++ '[' '!' -z 'sa/profiles/Beward/BD/get_version.py
sa/profiles/Dahua/DH/get_version.py
sa/profiles/Hikvision/DSKV8/get_version.py' ']'
++ for i in "${FLIST}"
++ xenon --max-absolute B --max-modules B --max-average B 'sa/profiles/Beward/BD/get_version.py
sa/profiles/Dahua/DH/get_version.py
sa/profiles/Hikvision/DSKV8/get_version.py'
++ let x+=0
ERROR: Job failed: exit code 1