commit c68736764f88910a64a6b414f42cfabad32d2018
parent 3caad3362f97d22811cd17913d95cdb5c154525f
Author: MS <ms@taler.net>
Date: Fri, 4 Sep 2020 18:32:16 +0200
trying the minimal validation library
Diffstat:
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/integration-tests/test-ebics-backup.py b/integration-tests/test-ebics-backup.py
@@ -8,7 +8,7 @@ import socket
import hashlib
import base64
-from util import startNexus, startSandbox
+from util import startNexus, startSandbox, CheckJsonTop as V, CheckJsonField as F
# Steps implemented in this test.
#
@@ -104,7 +104,8 @@ assertResponse(
post(
"http://localhost:5001/users",
headers=dict(Authorization=ADMIN_AUTHORIZATION_HEADER),
- json=dict(username=USERNAME, password=PASSWORD),
+ json=V(F("username"), F("password")).check(
+ dict(username=USERNAME, password=PASSWORD)),
)
)