From f90e03c6a749ee25df3ac74355981861d59160d0 Mon Sep 17 00:00:00 2001 From: krishnaa96 Date: Tue, 20 Jul 2021 11:44:26 +0530 Subject: Add cps client to PCI app - Add CPS client - Add configuration to switch between CPS and config DB Issue-ID: OPTFRA-978 Signed-off-by: krishnaa96 Change-Id: Ibce259123864a16e5f9e3b8e53563151d8036a88 --- test/test_process_pci_anr_opt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/test_process_pci_anr_opt.py') diff --git a/test/test_process_pci_anr_opt.py b/test/test_process_pci_anr_opt.py index b717d32..17c3e6d 100644 --- a/test/test_process_pci_anr_opt.py +++ b/test/test_process_pci_anr_opt.py @@ -32,7 +32,7 @@ class TestProcessPlacementOpt(unittest.TestCase): def setUp(self): mock_req_accept_message = Response("Accepted Request", content_type='application/json; charset=utf-8') - self.patcher_req = patch('apps.pci.optimizers.configdb.request', + self.patcher_req = patch('apps.pci.optimizers.config_request.request', return_value={"solutionInfo": {"placementInfo": "dummy"}}) self.patcher_req_accept = patch('osdf.operation.responses.osdf_response_for_request_accept', return_value=mock_req_accept_message) -- cgit 1.2.3-korg