X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=near-rt-ric-simulator%2Ftests%2Ftest_osc_2_1_0.py;fp=near-rt-ric-simulator%2Ftests%2Ftest_osc_2_1_0.py;h=b1d947b38308c9a08c120ffd7b60daa8b8e26d81;hb=d629ad239729f3b4b4131c012c3808d8b1491889;hp=169f3605565d2744050f4026b5ba4a038601b665;hpb=c8869f47f6ab67e0a1516cb0eca517ef31ba9a10;p=sim%2Fa1-interface.git diff --git a/near-rt-ric-simulator/tests/test_osc_2_1_0.py b/near-rt-ric-simulator/tests/test_osc_2_1_0.py index 169f360..b1d947b 100644 --- a/near-rt-ric-simulator/tests/test_osc_2_1_0.py +++ b/near-rt-ric-simulator/tests/test_osc_2_1_0.py @@ -581,22 +581,6 @@ def test_apis(client): assert response.status_code == 200 assert response.data == b"2" - -def test_notificationDestination(client): - testdata=get_testdata_dir() - # Header for json payload - header = { - "Content-Type" : "application/json" - } - - # === API: Update policy instance pi2 of type: 2 ===" - with open(testdata+'pi2.json') as json_file: - policytype_2 = json.load(json_file) - response = client.put(SERVER_URL+"a1-p/policytypes/2/policies/pi2?notificationDestination=http://localhost:8085/statustest", headers=header, data=json.dumps(policytype_2)) - assert response.status_code == 202 - result = response.data - assert result == b"" - def test_notificationDestination(client): test_data = get_testdata_dir() + 'pi2.json' # Header for json payload