mirror of
https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
synced 2024-11-23 15:31:00 +03:00
fixes
This commit is contained in:
parent
1aee423120
commit
018d7c34fc
10
test/main.py
10
test/main.py
@ -111,20 +111,20 @@ def test_auth_v1_origin_malformed_json():
|
|||||||
import json
|
import json
|
||||||
|
|
||||||
# see oscar.krause/fastapi-dls#1
|
# see oscar.krause/fastapi-dls#1
|
||||||
payload = f"""{
|
payload = f'''{{
|
||||||
"registration_pending": "false",
|
"registration_pending": "false",
|
||||||
"environment": {
|
"environment": {{
|
||||||
"guest_driver_version": "guest_driver_version",
|
"guest_driver_version": "guest_driver_version",
|
||||||
"hostname": "myhost",
|
"hostname": "myhost",
|
||||||
"ip_address_list": ["192.168.1.123"],
|
"ip_address_list": ["192.168.1.123"],
|
||||||
"os_version": "os_version",
|
"os_version": "os_version",
|
||||||
"os_platform": "os_platform",
|
"os_platform": "os_platform",
|
||||||
"fingerprint": {"mac_address_list": [ff:ff:ff:ff:ff:ff"]},
|
"fingerprint": {{"mac_address_list": [ff:ff:ff:ff:ff:ff"]}},
|
||||||
"host_driver_version": "host_driver_version"
|
"host_driver_version": "host_driver_version"
|
||||||
},
|
}},
|
||||||
"update_pending": "false",
|
"update_pending": "false",
|
||||||
"candidate_origin_ref": "{ORIGIN_REF}"
|
"candidate_origin_ref": "{ORIGIN_REF}"
|
||||||
}"""
|
}}'''
|
||||||
|
|
||||||
# test regex (temporary, until this section is merged into main.py
|
# test regex (temporary, until this section is merged into main.py
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user