 22bc68ebfb
			
		
	
	22bc68ebfb
	
	
	
		
			
			Just implementing a single functional test to start things off.
This test introduces a new test dependency on os-client-config.
os-client-config is used to configure the SDK to run its functional test
on a particular cloud.
To run the functional tests do a
    tox -e functional
Unit tests continue to be run the same way as always.
Change-Id: Id1e8233c5e366e6ec864fb435f7f3cbf290ffae0
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			728 B
		
	
	
	
		
			INI
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			728 B
		
	
	
	
		
			INI
		
	
	
	
	
	
| [tox]
 | |
| minversion = 1.6
 | |
| envlist = py33,py34,py27,pypy,pep8
 | |
| skipsdist = True
 | |
| 
 | |
| [testenv]
 | |
| usedevelop = True
 | |
| install_command = pip install -U {opts} {packages}
 | |
| setenv =
 | |
|    VIRTUAL_ENV={envdir}
 | |
| deps = -r{toxinidir}/requirements.txt
 | |
|        -r{toxinidir}/test-requirements.txt
 | |
| commands = python setup.py testr --slowest --testr-args='{posargs}'
 | |
| 
 | |
| [testenv:functional]
 | |
| setenv = OS_TEST_PATH=./openstack/tests/functional
 | |
| 
 | |
| [testenv:pep8]
 | |
| commands = flake8
 | |
| 
 | |
| [testenv:venv]
 | |
| commands = {posargs}
 | |
| 
 | |
| [testenv:cover]
 | |
| commands = python setup.py testr --coverage --testr-args='{posargs}'
 | |
| 
 | |
| [testenv:docs]
 | |
| commands = python setup.py build_sphinx
 | |
| 
 | |
| [flake8]
 | |
| show-source = True
 | |
| exclude=.venv,.git,.tox,dist,doc,*openstack/common*,*lib/python*,*egg,build
 |