8954959817
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> |
||
---|---|---|
.. | ||
migrations | ||
__init__.py | ||
base.py | ||
base_metadef.py | ||
test_migrations.py | ||
test_registry.py | ||
test_rpc_endpoint.py | ||
test_simple.py | ||
test_sqlalchemy.py |