X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=tox.ini;h=4f7d8161a8cf4cfe9b7575afaee5f1a79bc6bd1d;hb=d8cf387ce15e74c4c13d966ecc146499e2c37684;hp=f6ec0c72b99880391c9e0cca2284f3e136c2b817;hpb=09fa3d4dffb1fd9ea427f32a32264dd3bda56543;p=osm%2Fosmclient.git diff --git a/tox.ini b/tox.ini index f6ec0c7..4f7d816 100644 --- a/tox.ini +++ b/tox.ini @@ -1,3 +1,6 @@ +# Copyright 2019 ETSI OSM +# +# All Rights Reserved. # # 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 @@ -13,16 +16,15 @@ # [tox] envlist = py27,py35,flake8,pyflakes -toxworkdir={homedir}/.tox +toxworkdir={toxinidir}/.tox [testenv] -deps = nose - mock -commands = - nosetests +deps = -r{toxinidir}/test-requirements.txt +commands=nosetests +install_command = python -m pip install -r test-requirements.txt -U {opts} {packages} [testenv:flake8] -basepython = python +basepython = python3 deps = flake8 commands = flake8 setup.py