The OpenStack doesnt check tests with python34 anymore, this patch bumps oneviewclient python version to python35 when running tests with tox. Change-Id: I5fd374e72335832a504955d50ed31df45068ffe9
		
			
				
	
	
		
			34 lines
		
	
	
		
			701 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
		
			701 B
		
	
	
	
		
			INI
		
	
	
	
	
	
[tox]
 | 
						|
minversion = 1.6
 | 
						|
envlist = py35,py27,pep8
 | 
						|
skipsdist = True
 | 
						|
 | 
						|
[testenv]
 | 
						|
usedevelop = True
 | 
						|
install_command = pip install -U {opts} {packages}
 | 
						|
setenv =
 | 
						|
   VIRTUAL_ENV={envdir}
 | 
						|
deps = -r{toxinidir}/test-requirements.txt
 | 
						|
commands = python setup.py test --slowest --testr-args='{posargs}'
 | 
						|
 | 
						|
[testenv:pep8]
 | 
						|
commands = flake8
 | 
						|
 | 
						|
[testenv:venv]
 | 
						|
commands = {posargs}
 | 
						|
 | 
						|
[testenv:cover]
 | 
						|
commands = python setup.py test --coverage --testr-args='{posargs}'
 | 
						|
 | 
						|
[testenv:docs]
 | 
						|
commands = python setup.py build_sphinx
 | 
						|
 | 
						|
[testenv:debug]
 | 
						|
commands = oslo_debug_helper {posargs}
 | 
						|
 | 
						|
[flake8]
 | 
						|
exclude = .venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build,tools
 | 
						|
show-source = True
 | 
						|
ignore = E123,E125
 | 
						|
builtins = _
 |