glance/glance/tests/unit/v2
Charles Short 8954959817 Introduce ''mock_object'' method to base test class
We would like to fully remove mox from the test tree. Even for tests
that don't use mox's validation, many of them are using the symbol
patching with self.stubs.Set. We can do the same thing with the
monkeypatch fixture instead.

This introduces self.stub_out to nova/test.py and an example of what a
stubs => stub_out change would look like.

The teardown function in the converted test was removed at the same
time, as those should no longer be used.

Part of the mox community goal for Rocky.

Change-Id: I8f471ff8fee600ebb4e8907bf240007b7b4fe59f
Signed-off-by: Chuck Short <chucks@redhat.com>
2018-08-09 12:40:12 -04:00
..
__init__.py Adding versioned namespaces in test dir 2012-03-25 13:28:45 -07:00
test_discovery_image_import.py Remove deprecated 'enable_image_import' option 2018-06-07 08:16:43 +01:00
test_discovery_stores.py Unit/Functional tests for multi store support 2018-08-01 08:57:56 +00:00
test_image_actions_resource.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
test_image_data_resource.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_image_members_resource.py Fix member create to handle unicode characters 2017-12-26 19:42:05 +00:00
test_image_tags_resource.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_images_resource.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_metadef_resources.py Merge "Properly validate metadef objects" 2017-12-01 08:11:00 +00:00
test_registry_api.py Implement and Enable Community Images 2017-01-18 17:56:12 +00:00
test_registry_client.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00
test_schemas_resource.py Add multi-store support 2018-08-01 08:53:47 +00:00
test_tasks_resource.py Add 'tasks_api_access' policy 2017-08-18 00:46:34 -04:00