heat/heat/tests/openstack
Pavlo Shchelokovskyy 5f3f379422 Enable some unit tests back
Since split between AWS and OS WaitConidtion/Volume resources unit tests
for those resources were not running as they were not discovered.

During this time some changes were merged that actually broke some
tests (mostly the mocking) so this patch fixes those broken tests too.

Some AWS WaitConidtion tests were testing the handle_update method,
which has no sense now as it no longer returns a TaskRunner instance.
These tests were modified to use the general resource.update method.

One test in AWS volumes is modified to use mocked ServerConstraint,
which is added to base TestCase as are stubs for other constraints.
Another test in AWS volumes was using a dumb monkey-patching
instead of proper mock, leading to clashes during concurrent test runs.

Change-Id: Ie765eab75de835d5dec94024f1d90197f1723b4d
Closes-Bug: #1414083
2015-02-03 10:20:16 +08:00
..
__init__.py Enable some unit tests back 2015-02-03 10:20:16 +08:00
test_volume.py Use unique stack name in tests by default 2015-01-30 20:36:45 +02:00
test_waitcondition.py Enable some unit tests back 2015-02-03 10:20:16 +08:00