From 01a60ff23b979eb676658713748598ba4892163a Mon Sep 17 00:00:00 2001 From: Miroslav Los Date: Tue, 26 Nov 2019 14:20:36 +0100 Subject: Support python3 in all plugins Unify tox/requirements/setup.py requirement specifications. Do not set upper version limits if possible. Drop uuid as dependency included with standard library. Drop import of unmaintained cloudify_importer without python3 version. Use PEP 508 URLs in requirements for non-PyPI (github) releases. Use cloudify-common 5 release; pre-release package for python3. Rewrite uses of map with loops/comprehensions. Signed-off-by: Miroslav Los Issue-ID: DCAEGEN2-1956 Change-Id: I7b3ceb97a628e3af5bda3178d182f4207069e86d --- dcae-policy/tox-local.ini | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'dcae-policy/tox-local.ini') diff --git a/dcae-policy/tox-local.ini b/dcae-policy/tox-local.ini index 6bd1c58..d3ffbb0 100644 --- a/dcae-policy/tox-local.ini +++ b/dcae-policy/tox-local.ini @@ -1,15 +1,16 @@ # tox -c tox-local.ini | tee -a logs/test_dcaepolicyplugin.log 2>&1 [tox] -envlist = py27 +envlist = py27,py36 [testenv] deps= -rrequirements.txt - cloudify-plugins-common==3.4 pytest coverage pytest-cov -setenv = - PYTHONPATH={toxinidir} +whitelist_externals= + /bin/mkdir # recreate = True -commands=pytest -v --cov dcaepolicyplugin --cov-report html +commands= + mkdir -p logs + pytest -v --cov dcaepolicyplugin --cov-report html -- cgit 1.2.3-korg