-get twisted tests to pass

This commit is contained in:
Christian Grothoff 2022-02-11 11:46:42 +01:00
parent 0995bdd1d0
commit 3b9d67a6f8
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 30 additions and 4 deletions

View File

@ -136,7 +136,8 @@ check_PROGRAMS = \
test_taler_exchange_wirewatch-postgres
if HAVE_TWISTER
check_PROGRAMS += \
test_exchange_api_twisted \
test_exchange_api_twisted_cs \
test_exchange_api_twisted_rsa \
test_bank_api_with_fakebank_twisted \
test_bank_api_with_pybank_twisted
endif
@ -413,9 +414,27 @@ test_taler_exchange_wirewatch_postgres_LDADD = \
-lpthread \
$(XLIB)
test_exchange_api_twisted_SOURCES = \
test_exchange_api_twisted_cs_SOURCES = \
test_exchange_api_twisted.c
test_exchange_api_twisted_LDADD = \
test_exchange_api_twisted_cs_LDADD = \
$(LIBGCRYPT_LIBS) \
libtalertesting.la \
libtalertwistertesting.la \
$(top_builddir)/src/lib/libtalerexchange.la \
$(top_builddir)/src/bank-lib/libtalerfakebank.la \
$(top_builddir)/src/bank-lib/libtalerbank.la \
$(top_builddir)/src/json/libtalerjson.la \
$(top_builddir)/src/util/libtalerutil.la \
-lgnunettesting \
-lgnunetjson \
-lgnunetcurl \
-lgnunetutil \
-ljansson \
$(XLIB)
test_exchange_api_twisted_rsa_SOURCES = \
test_exchange_api_twisted.c
test_exchange_api_twisted_rsa_LDADD = \
$(LIBGCRYPT_LIBS) \
libtalertesting.la \
libtalertwistertesting.la \
@ -500,7 +519,8 @@ EXTRA_DIST = \
test_exchange_api_keys_cherry_picking_home/.local/share/taler/exchange/wirefees/x-taler-bank.fee \
test_exchange_api-cs.conf \
test_exchange_api-rsa.conf \
test_exchange_api_twisted.conf \
test_exchange_api_twisted-cs.conf \
test_exchange_api_twisted-rsa.conf \
test_exchange_api_keys_cherry_picking-cs.conf \
test_exchange_api_keys_cherry_picking-rsa.conf \
test_exchange_api_expire_reserve_now-cs.conf \

View File

@ -104,6 +104,8 @@ fee_deposit = EUR:0.00
fee_refresh = EUR:0.01
fee_refund = EUR:0.01
rsa_keysize = 1024
CIPHER = RSA
[coin_eur_ct_10]
value = EUR:0.10
@ -115,6 +117,7 @@ fee_deposit = EUR:0.01
fee_refresh = EUR:0.03
fee_refund = EUR:0.01
rsa_keysize = 1024
CIPHER = RSA
[coin_eur_1]
value = EUR:1
@ -126,6 +129,7 @@ fee_deposit = EUR:0.01
fee_refresh = EUR:0.03
fee_refund = EUR:0.01
rsa_keysize = 1024
CIPHER = RSA
[coin_eur_5]
value = EUR:5
@ -137,6 +141,7 @@ fee_deposit = EUR:0.01
fee_refresh = EUR:0.03
fee_refund = EUR:0.01
rsa_keysize = 1024
CIPHER = RSA
[coin_eur_10]
value = EUR:10
@ -148,3 +153,4 @@ fee_deposit = EUR:0.01
fee_refresh = EUR:0.03
fee_refund = EUR:0.01
rsa_keysize = 1024
CIPHER = RSA