test policy check

This commit is contained in:
xuu 2017-11-06 14:36:28 -07:00
parent 185a416c87
commit 96ec07bdfb
No known key found for this signature in database
GPG key ID: 8B3B0604F164E04F
3 changed files with 9 additions and 7 deletions

View file

@ -826,7 +826,7 @@ if __name__ == '__main__':
status = test_policy(args["type"], args["name"], args["mntner"])
print(status)
print("POLICY", args["mntner"], args["type"], args["name"], status)
if status != "PASS":
sys.exit(1)