mirror of
https://github.com/aljazceru/python-teos.git
synced 2025-12-17 22:24:23 +01:00
Adds schema on cli and e2e tests
This commit is contained in:
@@ -38,9 +38,9 @@ dummy_pk_der = dummy_pk.public_bytes(
|
||||
# Replace the key in the module with a key we control for the tests
|
||||
wt_cli.pisa_public_key = dummy_pk
|
||||
# Replace endpoint with dummy one
|
||||
wt_cli.pisa_api_server = "dummy.com"
|
||||
wt_cli.pisa_api_server = "https://dummy.com"
|
||||
wt_cli.pisa_api_port = 12345
|
||||
pisa_endpoint = "http://{}:{}/".format(wt_cli.pisa_api_server, wt_cli.pisa_api_port)
|
||||
pisa_endpoint = "{}:{}/".format(wt_cli.pisa_api_server, wt_cli.pisa_api_port)
|
||||
|
||||
dummy_appointment_request = {
|
||||
"tx": get_random_value_hex(192),
|
||||
|
||||
@@ -25,7 +25,7 @@ common.cryptographer.logger = Logger(actor="Cryptographer", log_name_prefix="")
|
||||
|
||||
# We'll use wt_cli to add appointments. The expected input format is a list of arguments with a json-encoded
|
||||
# appointment
|
||||
wt_cli.pisa_api_server = HOST
|
||||
wt_cli.pisa_api_server = "http://{}".format(HOST)
|
||||
wt_cli.pisa_api_port = PORT
|
||||
|
||||
# Run pisad
|
||||
|
||||
Reference in New Issue
Block a user