1
0
mirror of https://github.com/rancher/os.git synced 2025-07-14 07:04:03 +00:00

make tox happy

This commit is contained in:
Ivan Mikushin 2015-09-03 20:07:57 +05:00
parent 74e589039b
commit bde6b8bb7a
2 changed files with 3 additions and 4 deletions

View File

@ -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/*')

View File

@ -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