summaryrefslogtreecommitdiff
path: root/nova/test.py
diff options
context:
space:
mode:
authorTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>2018-06-20 15:46:35 +0900
committerTakashi NATSUME <natsume.takashi@lab.ntt.co.jp>2019-09-27 13:18:09 +0000
commit2565cd841d56beee15d85545d7df509e45b0713c (patch)
treea1353806083f02d37d02d058deef9de2da1b79a3 /nova/test.py
parent36b582a55a0007af55684e8e54caf6e72744de1a (diff)
downloadnova-2565cd841d56beee15d85545d7df509e45b0713c.tar.gz
Add TODO note for mox removal
MoxStubout fixture in nova/test.py and filtering warnings in nova/tests/fixtures.py will be removed after removing unit tests related to nova-network. So add notes for them. Change-Id: I20e51647e66467ebedde01e914484cd02fea6ef3 Implements: blueprint mox-removal-ussuri
Diffstat (limited to 'nova/test.py')
-rw-r--r--nova/test.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/nova/test.py b/nova/test.py
index 4ca8872489..6885943428 100644
--- a/nova/test.py
+++ b/nova/test.py
@@ -303,6 +303,14 @@ class TestCase(testtools.TestCase):
# Reset the compute RPC API globals (mostly the _ROUTER).
compute_rpcapi.reset_globals()
+ # TODO(takashin): Remove MoxStubout fixture
+ # after removing tests which uses mox and are related to
+ # nova-network in the following files.
+ #
+ # - nova/tests/unit/api/openstack/compute/test_floating_ips.py
+ # - nova/tests/unit/api/openstack/compute/test_security_groups.py
+ # - nova/tests/unit/fake_network.py
+ # - nova/tests/unit/network/test_manager.py
mox_fixture = self.useFixture(moxstubout.MoxStubout())
self.mox = mox_fixture.mox
self.stubs = mox_fixture.stubs