diff options
-rwxr-xr-x | tests/functional/test21.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/functional/test21.py b/tests/functional/test21.py index ef3459b..e88c1ad 100755 --- a/tests/functional/test21.py +++ b/tests/functional/test21.py @@ -65,7 +65,8 @@ for l in s.splitlines(): and trans2_found and trans3_found: print app1, 'found' break - elif not re.search(" no-TYPE ", l.strip()): + elif (not re.search(" no-TYPE ", l.strip())) and \ + (not re.search(" NOTIFICATION ", l.strip())): print 'FAIL: stacking order is wrong' print 'Failed stack:\n', s ret = 1 @@ -94,7 +95,8 @@ for l in s.splitlines(): break elif re.search("%s " % app2, l.strip()): print app2, 'found' - elif not re.search(" no-TYPE ", l.strip()): + elif (not re.search(" no-TYPE ", l.strip())) and \ + (not re.search(" NOTIFICATION ", l.strip())): print 'FAIL: stacking order is wrong' print 'Failed stack:\n', s ret = 1 |