Commit 281a132d authored by Lluis Gifre Renom's avatar Lluis Gifre Renom
Browse files

QKD App:

- Fixed UUIDs of qkdn_ids in test_create_apps
- Fixed reply dumps in test_create_apps
parent 251f2245
Loading
Loading
Loading
Loading
+8 −6
Original line number Diff line number Diff line
@@ -22,19 +22,21 @@ QKD_REQUEST_1 = {
        'server_app_id': '1',
        'client_app_id': [],
        'app_status': 'ON',
        'local_qkdn_id': '00000001-0000-0000-0000-0000000000',
        'backing_qkdl_id': ['00000003-0002-0000-0000-0000000000']
        'local_qkdn_id': '00000001-0000-0000-0000-000000000000',
        'backing_qkdl_id': ['00000003-0002-0000-0000-000000000000'],
    }
}
print(requests.post(QKD_URL, json=QKD_REQUEST_1))
reply = requests.post(QKD_URL, json=QKD_REQUEST_1)
print(reply.status_code, reply.text)

QKD_REQUEST_2 = {
    'app': {
        'server_app_id': '1',
        'client_app_id': [],
        'app_status': 'ON',
        'local_qkdn_id': '00000003-0000-0000-0000-0000000000',
        'backing_qkdl_id': ['00000003-0002-0000-0000-0000000000']
        'local_qkdn_id': '00000003-0000-0000-0000-000000000000',
        'backing_qkdl_id': ['00000003-0002-0000-0000-000000000000'],
    }
}
print(requests.post(QKD_URL, json=QKD_REQUEST_2))
reply = requests.post(QKD_URL, json=QKD_REQUEST_2)
print(reply.status_code, reply.text)
+1 −1

File changed.

Contains only whitespace changes.