summaryrefslogtreecommitdiffstats
path: root/tests/test_apex_deploy_env.py
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-07-01 18:01:24 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-01 18:01:24 +0000
commit9366d88b499d51369182c8fb04fa358ae6694844 (patch)
tree9ff2ef66ab095f04b283a495442988a33cb506d7 /tests/test_apex_deploy_env.py
parent4329294c99fd22b814aa8d7183e0e8de543ac5c5 (diff)
parent45fabbab6a4107df8a32f09045cf955afeb2e4ac (diff)
Merge "Syntax updates and new tests"
Diffstat (limited to 'tests/test_apex_deploy_env.py')
-rw-r--r--tests/test_apex_deploy_env.py17
1 files changed, 9 insertions, 8 deletions
diff --git a/tests/test_apex_deploy_env.py b/tests/test_apex_deploy_env.py
index 0cd144ef..648923d0 100644
--- a/tests/test_apex_deploy_env.py
+++ b/tests/test_apex_deploy_env.py
@@ -30,23 +30,23 @@ deploy_files = ('deploy_settings.yaml',
'os-onos-nofeature-ha.yaml')
test_deploy_content = (
-'global_params:',
-'deploy_options: string',
-"""deploy_options: string
+ 'global_params:',
+ 'deploy_options: string',
+ """deploy_options: string
global_params:""",
-"""global_params:
+ """global_params:
deploy_options:
error: error
""",
-"""global_params:
+ """global_params:
deploy_options:
performance: string
""",
-"""global_params:
+ """global_params:
deploy_options:
dataplane: invalid
""",
-"""global_params:
+ """global_params:
deploy_options:
performance:
Controller:
@@ -78,7 +78,8 @@ class TestIpUtils(object):
f = open('/tmp/apex_deploy_test_file', 'w')
f.write(c)
f.close()
- assert_raises(DeploySettingsException, DeploySettings, '/tmp/apex_deploy_test_file')
+ assert_raises(DeploySettingsException,
+ DeploySettings, '/tmp/apex_deploy_test_file')
def test_dump_bash(self):
# the performance file has the most use of the function