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_std_2_0_0.py
diff --git
a/near-rt-ric-simulator/tests/test_std_2_0_0.py
b/near-rt-ric-simulator/tests/test_std_2_0_0.py
index
7fc8e40
..
0da2467
100644
(file)
--- a/
near-rt-ric-simulator/tests/test_std_2_0_0.py
+++ b/
near-rt-ric-simulator/tests/test_std_2_0_0.py
@@
-471,7
+471,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/v2/policytypes/STD_1/policies/pi2?notificationDestination=http://localhost:808
5
/statustest", headers=header, data=json.dumps(payload))
+ response = client.put(SERVER_URL+"A1-P/v2/policytypes/STD_1/policies/pi2?notificationDestination=http://localhost:808
6
/statustest", headers=header, data=json.dumps(payload))
assert response.status_code == 200
result = json.loads(response.data)
assert compare(payload, result) == True
assert response.status_code == 200
result = json.loads(response.data)
assert compare(payload, result) == True