From bde6b8bb7abf11a2d8943814928cf4674b423286 Mon Sep 17 00:00:00 2001 From: Ivan Mikushin Date: Thu, 3 Sep 2015 20:07:57 +0500 Subject: [PATCH] make tox happy --- tests/integration/rancherostest/util.py | 1 + tests/integration/tox.ini | 6 ++---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/integration/rancherostest/util.py b/tests/integration/rancherostest/util.py index ec9e61a9..f17f85ee 100644 --- a/tests/integration/rancherostest/util.py +++ b/tests/integration/rancherostest/util.py @@ -6,6 +6,7 @@ import time def iter_lines(s): return iter(s.readline, '') + def run_qemu(request, run_args=[]): subprocess.check_call('rm -f ./state/empty-hd.img', shell=True) print('\nrm ./state/*') diff --git a/tests/integration/tox.ini b/tests/integration/tox.ini index 238c0f25..2565d4f9 100644 --- a/tests/integration/tox.ini +++ b/tests/integration/tox.ini @@ -3,13 +3,11 @@ envlist=flake8, py27 [testenv] deps=-rrequirements.txt -changedir=rancherostest -commands=py.test --durations=20 {posargs} +commands=py.test --durations=20 rancherostest {posargs} [testenv:flake8] deps=-rrequirements.txt -changedir=rancherostest -commands=flake8 . +commands=flake8 rancherostest [flake8] max-line-length = 120