forked from cloudify-cosmo/cloudify-openstack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtox.ini
More file actions
37 lines (34 loc) · 1.03 KB
/
Copy pathtox.ini
File metadata and controls
37 lines (34 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# content of: tox.ini , put in same dir as setup.py
[tox]
envlist=flake8,docs,py27
[testenv]
deps =
-rdev-requirements.txt
[testenv:py27]
deps =
coverage==3.7.1
nose
nose-cov
mock
testfixtures
{[testenv]deps}
commands =
nosetests -v --cover-html --with-coverage --cov-report term-missing \
--cover-package=cinder_plugin cinder_plugin/tests \
--cover-package=glance_plugin glance_plugin/tests \
--cover-package=keystone_plugin keystone_plugin/tests \
--cover-package=neutron_plugin neutron_plugin/tests/test_port.py neutron_plugin/tests/test_security_group.py neutron_plugin/tests/test_rbac_policy.py \
--cover-package=nova_plugin nova_plugin/tests \
--cover-package=openstack_plugin_common openstack_plugin_common/tests \
--with-xunit --xunit-file=nosetests.xml
[testenv:flake8]
deps =
flake8
{[testenv]deps}
commands =
flake8 cinder_plugin
flake8 neutron_plugin
flake8 nova_plugin
flake8 openstack_plugin_common
flake8 glance_plugin
flake8 keystone_plugin