summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
authorClark Boylan <clark.boylan@gmail.com>2012-10-30 16:30:02 -0700
committerClark Boylan <clark.boylan@gmail.com>2012-12-14 14:22:20 -0800
commit4abc8cc64fe9ec2467b8bce56a846aae6fd18ed4 (patch)
tree4f8a491b3289ca54406fce0bc501338dc745cb8c /setup.cfg
parent8652d71ade5e778da7c5934cc313f9c85443a0ce (diff)
downloadnova-4abc8cc64fe9ec2467b8bce56a846aae6fd18ed4.tar.gz
nova-4abc8cc64fe9ec2467b8bce56a846aae6fd18ed4.tar.xz
nova-4abc8cc64fe9ec2467b8bce56a846aae6fd18ed4.zip
Use testr to run nova unittests.
Convert nova from using nosetests to testr for its test runner. Some tests had to be modified to get them to run properly under testr. run_tests.sh has been updated to run testr instead of nosetests. Coverage is collected by running subunit.run under coverage.py when the coverage environment is selected. Note that you will need to rebuild your virtualenvs as nose is being removed from the dependency lists and is being replaced by testr. Tests will run in different processes once this test is merged so you cannot use test classes to pass information between tests. Each test should be a proper independent unit. Additionally the -x and -d flags to run_tests.sh have been removed as there are currently no decent approximations for those functions. Change-Id: I019ca098972ca749b195f59968cf21edd5ba9109
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg7
1 files changed, 0 insertions, 7 deletions
diff --git a/setup.cfg b/setup.cfg
index 07a80bb68..a4932f63b 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -21,10 +21,3 @@ input_file = nova/locale/nova.pot
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = nova/locale/nova.pot
-
-[nosetests]
-verbosity=2
-cover-package = nova
-cover-html = true
-cover-erase = true
-where=nova/tests