summaryrefslogtreecommitdiffstats
path: root/dcae-policy/tests/test_discovery.py
diff options
context:
space:
mode:
Diffstat (limited to 'dcae-policy/tests/test_discovery.py')
-rw-r--r--dcae-policy/tests/test_discovery.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/dcae-policy/tests/test_discovery.py b/dcae-policy/tests/test_discovery.py
index 0c41fe3..07c652e 100644
--- a/dcae-policy/tests/test_discovery.py
+++ b/dcae-policy/tests/test_discovery.py
@@ -1,5 +1,6 @@
# ================================================================================
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
+# Copyright (c) 2019 Pantheon.tech. All rights reserved.
# ================================================================================
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -75,7 +76,7 @@ def monkeyed_discovery_get_kv(full_path, **kwargs):
{tasks.DCAE_POLICY_PLUGIN: {
tasks.PolicyHandler.SERVICE_NAME_POLICY_HANDLER: {
"url": POLICY_HANDLER_FROM_KV}}}
- ))
+ ).encode()).decode()
return MonkeyedResponse(full_path, {}, [{"Value": value}])
return MonkeyedResponse(full_path)