diff --git a/.gitignore b/.gitignore index 9a4b2a348..b3f60d041 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ cover/ nosetests.xml .testrepository .venv +.stestr/* # Translations *.mo diff --git a/requirements.txt b/requirements.txt index 4acdf4e75..51fc43d53 100644 --- a/requirements.txt +++ b/requirements.txt @@ -10,8 +10,10 @@ python-heatclient>=1.10.0 # Apache-2.0 python-glanceclient>=2.9.1 # Apache-2.0 python-ironicclient>=2.7.0 # Apache-2.0 python-ironic-inspector-client>=3.1.1 # Apache-2.0 +python-tripleoclient>=15.0.0 # Apache-2.0 os-net-config>=7.1.0 # Apache-2.0 oslo.utils>=3.40.2 # Apache-2.0 six>=1.11.0 # MIT tripleo-common>=7.1.0 # Apache-2.0 setuptools>=50.3.0 +osc-lib>=2.3.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 5785d774f..6ba40f17e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -15,3 +15,7 @@ reno>=3.1.0 # Apache-2.0 netaddr>=0.7.18 # BSD pre-commit # MIT stestr>=3.0.1 # Apache-2.0 +mock>=4.0.3 # BSD +requests-mock>=1.8.0 # Apache-2.0 +python-tripleoclient>=15.0.0 # Apache-2.0 +osc-lib>=2.3.0 # Apache-2.0 diff --git a/tripleo_validations/tests/__init__.py b/tripleo_validations/tests/__init__.py index e69de29bb..c47397cfb 100644 --- a/tripleo_validations/tests/__init__.py +++ b/tripleo_validations/tests/__init__.py @@ -0,0 +1,2 @@ +"""tripleo_validations tests. +""" diff --git a/tripleo_validations/tests/fakes.py b/tripleo_validations/tests/fakes.py new file mode 100644 index 000000000..dd3055f4f --- /dev/null +++ b/tripleo_validations/tests/fakes.py @@ -0,0 +1,14 @@ +# Copyright 2021 Red Hat, 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. +# diff --git a/tripleo_validations/tests/library/__init__.py b/tripleo_validations/tests/library/__init__.py index e69de29bb..ba4b667e1 100644 --- a/tripleo_validations/tests/library/__init__.py +++ b/tripleo_validations/tests/library/__init__.py @@ -0,0 +1,2 @@ +"""library tests +""" diff --git a/tripleo_validations/tests/lookup_plugins/__init__.py b/tripleo_validations/tests/lookup_plugins/__init__.py new file mode 100644 index 000000000..9b28bc41d --- /dev/null +++ b/tripleo_validations/tests/lookup_plugins/__init__.py @@ -0,0 +1,2 @@ +"""Lookup plugins tests. +"""