mirror of
https://github.com/rancher/os.git
synced 2025-07-15 07:41:39 +00:00
make tox happy
This commit is contained in:
parent
74e589039b
commit
bde6b8bb7a
@ -6,6 +6,7 @@ import time
|
|||||||
def iter_lines(s):
|
def iter_lines(s):
|
||||||
return iter(s.readline, '')
|
return iter(s.readline, '')
|
||||||
|
|
||||||
|
|
||||||
def run_qemu(request, run_args=[]):
|
def run_qemu(request, run_args=[]):
|
||||||
subprocess.check_call('rm -f ./state/empty-hd.img', shell=True)
|
subprocess.check_call('rm -f ./state/empty-hd.img', shell=True)
|
||||||
print('\nrm ./state/*')
|
print('\nrm ./state/*')
|
||||||
|
@ -3,13 +3,11 @@ envlist=flake8, py27
|
|||||||
|
|
||||||
[testenv]
|
[testenv]
|
||||||
deps=-rrequirements.txt
|
deps=-rrequirements.txt
|
||||||
changedir=rancherostest
|
commands=py.test --durations=20 rancherostest {posargs}
|
||||||
commands=py.test --durations=20 {posargs}
|
|
||||||
|
|
||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
deps=-rrequirements.txt
|
deps=-rrequirements.txt
|
||||||
changedir=rancherostest
|
commands=flake8 rancherostest
|
||||||
commands=flake8 .
|
|
||||||
|
|
||||||
[flake8]
|
[flake8]
|
||||||
max-line-length = 120
|
max-line-length = 120
|
||||||
|
Loading…
Reference in New Issue
Block a user