X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FN2VC.git;a=blobdiff_plain;f=tox.ini;h=4685666646311aba23248ebf5e2647977d334e0b;hp=481bb9d1f80807610cca19286373ce1210c4af44;hb=refs%2Fchanges%2F51%2F8651%2F3;hpb=b2a07f566be558a8b59b8b5dedfe8da5ae1b0132 diff --git a/tox.ini b/tox.ini index 481bb9d..4685666 100644 --- a/tox.ini +++ b/tox.ini @@ -1,3 +1,17 @@ +# Copyright 2019 Canonical Ltd. +# +# 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. + # Tox (http://tox.testrun.org/) is a tool for running tests # in multiple virtualenvs. This configuration file will run the # test suite on all supported python versions. To use it, "pip install tox" @@ -26,6 +40,7 @@ passenv = VCA_SECRET LXD_HOST LXD_SECRET + VCA_CACERT # These are needed so executing `charm build` succeeds TERM TERMINFO @@ -42,7 +57,7 @@ deps = [testenv:py3] # default tox env, excludes integration and serial tests commands = - pytest --ignore modules/ --ignore tests/charms/ --tb native -ra -v -s -n auto -k 'not integration' -m 'not serial' {posargs} + pytest --ignore modules/ --ignore tests/charms/ --tb native -ra -v -n auto -k 'not integration' -m 'not serial' {posargs} [testenv:lint] envdir = {toxworkdir}/py3