Basic configurations for fuel-bootstrap tests
* Change tox.ini to run both fuel-agent tests and fuel-bootstrap tests * Add basic requirements test Change-Id: I877696503d56a511bd84ffe36099e6c57587e748 Partial-Bug: #1522353
This commit is contained in:
parent
b54d0412a3
commit
305638331b
|
@ -0,0 +1,21 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Copyright 2015 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.
|
||||
|
||||
from pkg_resources import require
|
||||
|
||||
|
||||
def test_check_requirements_conflicts():
|
||||
require('fuel-bootstrap')
|
|
@ -1,6 +1,10 @@
|
|||
PyYAML>=3.1.0
|
||||
stevedore
|
||||
pbr>=0.6
|
||||
cliff>=1.7.0
|
||||
six>=1.7.0
|
||||
cliff>=1.7.0
|
||||
python-fuelclient
|
||||
|
||||
## fuel-bootstrap requires fuel-agent as well, but fuel-agent
|
||||
## is not installable via pip
|
||||
# fuel-agent
|
||||
|
|
2
tox.ini
2
tox.ini
|
@ -10,8 +10,10 @@ setenv = VIRTUAL_ENV={envdir}
|
|||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
-e{toxinidir}/contrib/fuel_bootstrap/fuel_bootstrap_cli/
|
||||
commands =
|
||||
py.test -vv {posargs:fuel_agent/tests}
|
||||
py.test -vv {posargs:contrib/fuel_bootstrap/fuel_bootstrap_cli/fuel_bootstrap/tests}
|
||||
|
||||
[testenv:pep8]
|
||||
deps = hacking==0.10.2
|
||||
|
|
Loading…
Reference in New Issue