4 Commits

Author SHA1 Message Date
John L. Villalovos
f350d87af8 Prepare for functional testing
Prepare for functional testing by creating two new directories:
  * ironic/tests/unit
  * ironic/tests/functional

Move all files currently in ironic/tests/* to ironic/tests/unit/

Update imports from 'ironic.tests.YYY' to 'ironic.tests.unit.YYY'

Fix any PEP8 issues due to longer lines

Partial-Bug: #1491670
Change-Id: I1166f20adf8c84b2042b62e348926502a4851e08
2015-09-28 21:27:01 +00:00
Robert Collins
2196626ea5 Unbreak debugging via testr
Unconditionally capturing stdout and stderr makes debugging quite
hard, since we can't see what we're typing.

Change-Id: I89b721b74821dac150dac9df74d31a8f9bbfe8da
2014-09-03 21:31:06 +00:00
Adam Gandelman
a61985324a Update tox.ini to also run nova tests
This updates testr.conf to allow passing of the tests directory as an
environment variable (defaulting to ironic/tests/). Also updates tox.ini
to run testr once for ironic/tests and once for ironic/nova/tests/, then
combine subunit output.

test-requirements.txt is updated to pull in Nova from a tarball, as well
as mox and python-ironicclient.

Updates the existing Nova driver unit tests to account for recent
refactoring and changes in the Nova virt API.

Change-Id: Ibefa2e0d3f97512f4da9ace780703fe47467232e
Closes-bug: #1299312
2014-04-04 14:36:02 -07:00
Monty Taylor
87ffa55426 Added .testr.conf. 2013-05-02 17:32:04 -04:00