summaryrefslogtreecommitdiffstats
path: root/apex/tests
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2018-10-08 20:35:17 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-10-08 20:35:17 +0000
commite1c125496077fe9b693c80ad0ab9e345f1d2f438 (patch)
tree2a2d995dd60081d089973ed44e1a61252823915e /apex/tests
parent0a78f21e06900fdacc51087c8c764027b750a95f (diff)
parent99b41501961f3da0775e102d69f8018c89d10988 (diff)
Merge "Adding support for containerized undercloud"
Diffstat (limited to 'apex/tests')
-rw-r--r--apex/tests/test_apex_undercloud.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/apex/tests/test_apex_undercloud.py b/apex/tests/test_apex_undercloud.py
index 5c33bf0..2d0dffc 100644
--- a/apex/tests/test_apex_undercloud.py
+++ b/apex/tests/test_apex_undercloud.py
@@ -276,7 +276,8 @@ class TestUndercloud(unittest.TestCase):
{'--upload':
'/root/.ssh/id_rsa.pub:/root/.ssh/authorized_keys'},
{'--run-command': 'chmod 600 /root/.ssh/authorized_keys'},
- {'--run-command': 'restorecon /root/.ssh/authorized_keys'},
+ {'--run-command': 'restorecon '
+ '-R -v /root/.ssh'},
{'--run-command':
'cp /root/.ssh/authorized_keys /home/stack/.ssh/'},
{'--run-command':
@@ -293,6 +294,7 @@ class TestUndercloud(unittest.TestCase):
ns_dict = {
'apex': MagicMock(),
'dns-domain': 'dns',
+ 'ntp': 'pool.ntp.org',
'networks': {'admin':
{'cidr': ipaddress.ip_network('192.0.2.0/24'),
'installer_vm': {'ip': '192.0.2.1',