aboutsummaryrefslogtreecommitdiffstats
path: root/moonv4/moon_interface/tests/apitests/utils/policies.py
diff options
context:
space:
mode:
Diffstat (limited to 'moonv4/moon_interface/tests/apitests/utils/policies.py')
-rw-r--r--moonv4/moon_interface/tests/apitests/utils/policies.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/moonv4/moon_interface/tests/apitests/utils/policies.py b/moonv4/moon_interface/tests/apitests/utils/policies.py
index 7b345fad..e6df7f71 100644
--- a/moonv4/moon_interface/tests/apitests/utils/policies.py
+++ b/moonv4/moon_interface/tests/apitests/utils/policies.py
@@ -61,6 +61,7 @@ def check_policy(policy_id=None):
assert policy_id in result['policies']
assert "name" in result['policies'][policy_id]
assert policy_template["name"] == result['policies'][policy_id]["name"]
+ return result
def add_policy(name="test_policy", genre="authz"):