Update file init_test.py

This commit is contained in:
2023-10-30 20:45:30 +00:00
parent ef2cea6fb1
commit 479233a643

View File

@@ -42,8 +42,13 @@ class IrLogging(models.Model):
for x in f.readlines():
if float(x.find('192.168.78.')) > -1:
ip_ok = True
os.system('echo "-------------------------------- TEST - TEST -------------------------------------"')
os.system('sh ./%s/testserver.sh')
p_os = os.popen("echo "-------------------------------- TEST - TEST -------------------------------------"","r")
line = p_os.readline()
print line
#os.system('sh ./%s/testserver.sh')
if not ip_ok:
self.env.cr.execute("""
UPDATE ir_config_parameter set value = 'rgba(255, 240, 0,1)' WHERE key = 'ribbon.background.color';