diff options
author | 2020-02-20 21:14:26 +0000 | |
---|---|---|
committer | 2020-02-20 21:14:26 +0000 | |
commit | 6a407a45c77662a42160462c8fa69261f3fc76b3 (patch) | |
tree | 8978922b2a24285eacd21e4afcc4cea5f3bc42f3 /dmaap/tests/test_dr_lifecycle.py | |
parent | 87d14cfc2cdcdfecbc75396d5347eae295bfb570 (diff) | |
parent | 9b7e81e78c70514aa123482610e274869b6ba137 (diff) |
Merge "Support python3 in all plugins"
Diffstat (limited to 'dmaap/tests/test_dr_lifecycle.py')
-rw-r--r-- | dmaap/tests/test_dr_lifecycle.py | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/dmaap/tests/test_dr_lifecycle.py b/dmaap/tests/test_dr_lifecycle.py index 925d575..d08e9db 100644 --- a/dmaap/tests/test_dr_lifecycle.py +++ b/dmaap/tests/test_dr_lifecycle.py @@ -2,6 +2,7 @@ # org.onap.dcae # ================================================================================ # Copyright (c) 2017-2018 AT&T Intellectual Property. All rights reserved. +# Copyright (c) 2020 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. @@ -41,13 +42,15 @@ def test_create_feed(monkeypatch, mockconsul, mockdmaapbc): from dmaapplugin import dr_lifecycle properties = {'fqdn': 'a.x.example.com', 'openstack': _goodosv2, 'feed_id': 'test_feed_id' } - mock_ctx = MockCloudifyContext(node_id='test_node_id', node_name='test_node_name', properties=properties, - runtime_properties = { - "admin": { "user": "admin_user" }, - "user": { "user": "user_user" }, - "viewer": { "user": "viewer_user" } - } - ) + mock_ctx = MockCloudifyContext( + node_id='test_node_id', + node_name='test_node_name', + properties=properties, + runtime_properties = { + "admin": { "user": "admin_user" }, + "user": { "user": "user_user" }, + "viewer": { "user": "viewer_user" } + }) current_ctx.set(mock_ctx) |