placement/nova/tests
Sean Dague ba0339f413 remove use of _get_regexes in samples tests
There was an exceptionally large amount of rote use of _get_regexes
throughout the samples tests, which doesn't provide any additional
explicitness in what's happening, and only couples the tests to the
base class in less useful ways.

Instead, when we call _verify_response, always also use the base
vanilla regexes for matching tests.

We also needed to add a few more variables to the list which always
need to be reset before testing against the static samples, because
uuids are often generated on the fly for the tests.

Lastly, test_keypairs needed some test specific surgery. It is so
highly normalized (with private test methods that take **kwargs) at
this point that it's not really clear that it's testing useful things
any more. This really needs denormalization.

Change-Id: I165b0f3aa2132373cb59982a5a5ded37b4fa1b52
2016-01-05 06:33:02 -05:00
..
functional remove use of _get_regexes in samples tests 2016-01-05 06:33:02 -05:00
unit Merge "use graduated oslo.policy" 2015-12-02 05:53:02 +00:00
__init__.py move all tests to nova/tests/unit 2014-11-12 15:31:08 -05:00
fixtures.py default host to service name instead of uuid 2015-12-10 14:05:14 -05:00
uuidsentinel.py Add uuidsentinel test module 2015-12-14 11:28:55 +01:00