summaryrefslogtreecommitdiffstats
path: root/test/regression
diff options
context:
space:
mode:
Diffstat (limited to 'test/regression')
-rwxr-xr-xtest/regression/gui.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/regression/gui.py b/test/regression/gui.py
index 703e0d19..a4e4ab9c 100755
--- a/test/regression/gui.py
+++ b/test/regression/gui.py
@@ -33,10 +33,10 @@ def TestGUI(name, page, gets, expect):
data = r1.read()
p = re.compile('.*'+expect+'.*', re.DOTALL)
m = p.match(data)
- if m:
- print '\tGUI: OK'
- else:
+ if not m:
print '\tGUI: NOT OK'
+### else:
+### print '\tGUI: OK'
conn.close()
def InitDB():
@@ -56,10 +56,10 @@ def TestDBCount(table, condition, num):
# print sql
row = cursor.fetchone()
- if row[0]==num:
- print '\tDB: OK'
- else:
+ if row[0]!=num:
print '\tDB: NOT OK'
+### else:
+### print '\tDB: OK'
def DBGetID(table, condition, column):
cursor = connection.cursor()