Code Review
/
sim
/
a1-interface.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
NONRTRIC-933: NONRTRIC - A1Sim - avoid clashing port numbers between unit tests and...
[sim/a1-interface.git]
/
near-rt-ric-simulator
/
tests
/
test_osc_2_1_0.py
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
b1d947b
..
f5222c9
100644
(file)
--- a/
near-rt-ric-simulator/tests/test_osc_2_1_0.py
+++ b/
near-rt-ric-simulator/tests/test_osc_2_1_0.py
@@
-589,7
+589,7
@@
def test_notificationDestination(client):
# === API: Update policy instance pi2 of type: 2 ==="
with open(test_data) as json_file:
payload = json.load(json_file)
# === API: Update policy instance pi2 of type: 2 ==="
with open(test_data) as json_file:
payload = json.load(json_file)
- response = client.put(SERVER_URL+"a1-p/policytypes/2/policies/pi2?notificationDestination=http://localhost:808
5
/statustest", headers=header, data=json.dumps(payload))
+ response = client.put(SERVER_URL+"a1-p/policytypes/2/policies/pi2?notificationDestination=http://localhost:808
6
/statustest", headers=header, data=json.dumps(payload))
assert response.status_code == 202
result = response.data
assert response.status_code == 202
result = response.data