From: Henryk Plötz Date: Mon, 10 Sep 2018 11:08:12 +0000 (+0200) Subject: Add 1step transfer test X-Git-Tag: v2.0.0~1^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a0e41bcc9f0c83e8a937cad127e11e0380758d;p=thirdparty%2Fpython-fints.git Add 1step transfer test --- diff --git a/tests/conftest.py b/tests/conftest.py index 0d45aa1..2894b4e 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -66,6 +66,19 @@ def fints_server(): if b"'HKSPA:" in message: result.append(b"HISPA::1:4+J:DE111234567800000001:GENODE00TES:00001::280:1234567890'") + hkccs = re.search(rb"'HKCCS:(\d+):1.*@\d+@(.*)/Document>'", message) + if hkccs: + segno = hkccs.group(1).decode('us-ascii') + pain = hkccs.group(2).decode('utf-8') + + memomatch = re.search(r"]*>\s*]*>\s*([^<]+)\s*]*>\s*]*>\s*]*>\s*([^<]+)\s*]*>]*>\s*([^<]+)\s*