summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-04 12:52:05 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-12-04 12:52:05 +0000
commit84a6f458b2ded92b562c519f3143dd713cc517e3 (patch)
treeb7f63fc26da3ab8740ad5d99be6a3762146eb1d4 /test
parentc9e7a8f2271f5b9acd915eb457618e4c78491ecb (diff)
downloadzabbix-84a6f458b2ded92b562c519f3143dd713cc517e3.tar.gz
zabbix-84a6f458b2ded92b562c519f3143dd713cc517e3.tar.xz
zabbix-84a6f458b2ded92b562c519f3143dd713cc517e3.zip
Minor changes.
git-svn-id: svn://svn.zabbix.com/trunk@2391 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'test')
-rwxr-xr-xtest/regression/gui.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/regression/gui.py b/test/regression/gui.py
index 11aa164f..9011d306 100755
--- a/test/regression/gui.py
+++ b/test/regression/gui.py
@@ -37,6 +37,10 @@ def TestGUI(name, page, gets, expect):
print '\tGUI: NOT OK'
### else:
### print '\tGUI: OK'
+ p = re.compile('.*Undefined variable.*', re.DOTALL)
+ m = p.match(data)
+ if m:
+ print '\tWARNING: Undefined variable'
conn.close()
def InitDB():
@@ -79,8 +83,8 @@ def GUI_Login():
def GUI_Config_General_Housekeeper():
### print "GUI_Config_General_Mediatype"
- TestGUI('General->Housekeeper', "config.php", "alert_history=360&alarm_history=360&register=update", "Configuration updated")
- TestDBCount("config","alert_history=360 and alarm_history=360", 1)
+ TestGUI('General->Housekeeper', "config.php", "alert_history=33&alarm_history=44&refresh_unsupported=123&register=update", "Configuration updated")
+ TestDBCount("config","alert_history=33 and alarm_history=44 and refresh_unsupported=123", 1)
def GUI_Config_General_Mediatype_Email():
TestGUI('General->Media type->Add (email)', "config.php", "config=1&description=Zzz&type=0&exec_path=&smtp_server=localhost&smtp_helo=localhost&smtp_email=zabbix%40localhost&register=add", "Added new media type")