fuel-library/utils/configuration_validator/conftest.py
Dmitry Shulyak 04bd63fe0d Initial granular deployment config with validation
Added initial configuration for granular deployment.

If we are going to store configuration in fuel-library
repository we will need to make sure it is valid,
before it will be loaded to nailgun, so it is required
to run next test for every patchset

py.test utils/configuration_validator/  --dir deployment/

implements blueprint granular-deployment-based-on-tasks

Change-Id: I6e0ba97ca5de01c1e9b9e57f64ca48a0da7368be
2015-01-19 13:06:33 +02:00

18 lines
715 B
Python

# Copyright 2014 Mirantis, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
def pytest_addoption(parser):
parser.addoption("--dir", help="Base directory for tasks discovery.")