glance/glance/tests/functional/db
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
..
migrations Multihash implementation for Glance 2018-07-31 21:28:38 -04:00
__init__.py Updates OpenStack LLC with OpenStack Foundation 2013-02-17 19:19:43 -08:00
base.py Mitigate OSSN-0075 2018-07-05 13:33:36 +00:00
base_metadef.py Fix order of arguments in assertEqual 2015-09-16 02:55:33 -07:00
test_migrations.py Use oslo_db.sqlalchemy.test_fixtures 2018-02-19 11:45:23 -05:00
test_registry.py Separate out functional tests 2018-01-22 10:29:34 -06:00
test_rpc_endpoint.py Extracted HTTP response codes to constants in tests 2016-10-06 15:17:06 +00:00
test_simple.py Remove usage of parameter enforce_type 2017-05-31 14:32:20 +08:00
test_sqlalchemy.py Introduce ''mock_object'' method to base test class 2018-08-09 12:40:12 -04:00