diff options
author | 2017-09-06 07:59:35 +0000 | |
---|---|---|
committer | 2017-09-06 07:59:35 +0000 | |
commit | a1cac571306e246206368cd5ed324c3f2203e1cb (patch) | |
tree | 8e863f10f1589a94d4ccb175768d205da2562579 /tests/unit | |
parent | 21086d1bce255c464f57bf6bc183894d7d9bbfba (diff) | |
parent | 95aec0a10931ecc61981dba49c93c5bea8d48960 (diff) |
Merge "Eliminate hard coding about ipmi info"
Diffstat (limited to 'tests/unit')
-rw-r--r-- | tests/unit/config/test_schemas.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unit/config/test_schemas.py b/tests/unit/config/test_schemas.py index 04705fda..7c7dab28 100644 --- a/tests/unit/config/test_schemas.py +++ b/tests/unit/config/test_schemas.py @@ -23,7 +23,8 @@ def conf_file_dir(data_root): @pytest.mark.parametrize('deploy_file_name', [ ('deploy_virtual1.yml'), - ('deploy_virtual_error.yml')]) + ('deploy_virtual_error.yml'), + ('deploy_baremetal.yml')]) def test_deploy_schema_validate(conf_file_dir, deploy_file_name): data = yaml.safe_load(open(os.path.join(conf_file_dir, deploy_file_name), 'r')) errors = deploy_schema_validate(data) @@ -31,3 +32,5 @@ def test_deploy_schema_validate(conf_file_dir, deploy_file_name): assert errors == [] elif deploy_file_name == 'deploy_virtual_error.yml': assert errors != [] + elif deploy_file_name == 'deploy_baremetal.yml': + assert errors == [] |