Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 788ac0c

Browse files
committed
[run_test.py] Avoid not in condition to make it easier to understand
1 parent 893e919 commit 788ac0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Alerting/Sample Watches/run_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,5 +192,5 @@ def load_file(serialized_file):
192192
print("TEST FAIL")
193193
sys.exit(1)
194194
else:
195-
print("TEST %s" % ("PASS" if not response['watch_record']['result']['condition']['met'] else "FAIL"))
195+
print("TEST %s" % ("FAIL" if response['watch_record']['result']['condition']['met'] else "PASS"))
196196
sys.exit(met)

0 commit comments

Comments
 (0)