Adds schema on cli and e2e tests

This commit is contained in:
Sergi Delgado Segura
2020-02-13 19:14:13 +01:00
parent 1471e89855
commit ead74199e5
2 changed files with 3 additions and 3 deletions

View File

@@ -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),