summaryrefslogtreecommitdiffstats
path: root/test/test_process_pci_anr_opt.py
diff options
context:
space:
mode:
authorkrishnaa96 <krishna.moorthy6@wipro.com>2021-07-20 11:44:26 +0530
committerkrishnaa96 <krishna.moorthy6@wipro.com>2021-07-20 14:38:09 +0530
commitf90e03c6a749ee25df3ac74355981861d59160d0 (patch)
tree400b9f6b2ef6a07b1dbb4ebeeb58e8c026e00a45 /test/test_process_pci_anr_opt.py
parent555e5727d1c818108ff255a1b9fe4542b768ad5c (diff)
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 <krishna.moorthy6@wipro.com> Change-Id: Ibce259123864a16e5f9e3b8e53563151d8036a88
Diffstat (limited to 'test/test_process_pci_anr_opt.py')
-rw-r--r--test/test_process_pci_anr_opt.py2
1 files changed, 1 insertions, 1 deletions
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)