Commit Graph

9 Commits

Author SHA1 Message Date
Erik Olof Gunnar Andersson 832abd2b67 Fix coverage issues with eventlet
Applying the correct concurrency model for coverage
will ensure that all unit testing is correctly captured
by coverage.

Change-Id: Ic8c9e75614a5cbba19f87d165a15f7026f883760
2023-11-10 20:12:31 +00:00
Matt Riedemann a2fbe44be0 Remove nova/openstack/* from .coveragerc
The nova/openstack tree no longer exists since we
don't use oslo-incubator so no need to filter it
out in the coveragerc file.

Change-Id: I504144b2e26aec9a46aa1b415e44c7ab787fe021
2016-10-12 16:20:49 -04:00
Monty Taylor 7bc16c8025 Change ignore-errors to ignore_errors
Needed for coverage 4.0

Change-Id: I29477e74a9bf3796de0fc89875f1cc940531aca1
2015-09-21 14:34:39 +00:00
Sascha Peilicke fa0d61084e Port Cheetah templates to Jinja2
Cheetah is unmaintained since 2010 and it's unlikely to get Python3
support soon. Also, the rest of OpenStack (mostly) standardized on
Jinja2.

Implements: blueprint jinja-templating-conversion
Change-Id: Ia15f00ee96d3c1d55d7c290f20ccc988e4c52e1a
2013-09-02 16:03:34 +02:00
Alessio Ababilov d089e0a488 Update .coveragerc
Set up proper source and omit options.

Change-Id: I28e95c5dde5d906dc2bf44b647017f8cff5981f6
Implements: blueprint update-coveragerc
2013-02-06 16:47:06 +02:00
Monty Taylor a0c3e67cb5 Use testrepository setuptools support.
The previous false-positive bug was fixed upstream in 0.0.13.

Change-Id: Iceb07a511992249c104bbc7c34b7c35e01bd9fbd
2013-01-14 23:17:12 -08:00
James E. Blair 9576c6fdeb Revert "Use testr setuptools commands."
This reverts commit c945b71929
which caused the unit test command to always exit sucessfully.

Change-Id: I410cbc878675503f0ce6e50bddc4fd0552370c46
2013-01-14 14:05:50 -08:00
Monty Taylor c945b71929 Use testr setuptools commands.
Replace the embedded shell scripts with setuptools commands provided by
upstream. Cleans up a few warnings that this cause tox to show.

Change-Id: I9eb47142eafb6ed038b358b94984462ca1632542
2013-01-12 13:33:42 -08:00
Monty Taylor cf34a60157 Finalize tox config.
Shrink tox.ini to the new short version.
Fix the test cases to be able to be run in nosetets plus the
openstack.nose_plugin, which finally removes the need for
nova/testing/runner.py
Also, now we'll just output directly to stdout, which will
make nose collect the trace logging directly and either output
it at the end of the run, or inject it into the xunit output
appropriately.

Change-Id: I1456e18a11a840145492038108bdfe812c8230d1
2012-06-07 12:15:42 -04:00