From f66d4c98f23116c4917785014f0c56e4440d6c81 Mon Sep 17 00:00:00 2001 From: Balazs Gibizer Date: Mon, 30 Jul 2018 10:09:42 +0200 Subject: [PATCH] Remove unused stubbing function from test The fake_networks.stub_out_network_cleanup is unused since I0eaa0a9860af7d574a689722785d5d3d614eb0c1 and therefore removed. Change-Id: Ifedcd0cd2821b38a7b4f5eae41fcb705e9606687 --- nova/tests/unit/fake_network.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nova/tests/unit/fake_network.py b/nova/tests/unit/fake_network.py index 9b198ae32fa1..a7a201430f2a 100644 --- a/nova/tests/unit/fake_network.py +++ b/nova/tests/unit/fake_network.py @@ -350,11 +350,6 @@ def stub_out_nw_api_get_instance_nw_info(test, func=None, test.stub_out('nova.network.api.API.get_instance_nw_info', func) -def stub_out_network_cleanup(test): - test.stub_out('nova.network.api.API.deallocate_for_instance', - lambda *args, **kwargs: None) - - _real_functions = {}