Commit Graph

18 Commits

Author SHA1 Message Date
Christian Grothoff
385b3e77df
tighten formatting rules 2019-10-31 12:59:50 +01:00
Christian Grothoff
b46fe9aa21
reindenting with uncrustify 2019-10-05 15:42:08 +02:00
Marcello Stanisci
0889cedc59
purge old _new bank-lib test 2019-09-11 00:46:34 +02:00
Florian Dold
eb55997084
re-format code 2019-08-25 16:18:24 +02:00
Christian Grothoff
21edd1e903
rename _new.c to just .c for tests 2019-06-08 21:41:12 +02:00
Marcello Stanisci
12aa516024
Fix history CMD loop, + make fakebank demonize.
This latter enable us to call the "check-service" CMD
against the Fakebank, instead of doing forced X seconds
sleep.
2019-04-11 00:23:28 +02:00
Marcello Stanisci
66425084c1
Test /history-range after transactions happened. 2019-04-10 17:34:27 +02:00
Marcello Stanisci
814522d21c
Time math macros. 2019-04-10 17:07:14 +02:00
Marcello Stanisci
75ac6b8063
minor fixes 2019-04-10 17:07:13 +02:00
Marcello Stanisci
f3d80b58f6
Make the API-agnostic iterator work.
This allows to build local histories to be matched
against the ones returned by the bank; in particular,
this version builds those stories regardless of /history
or /history-range being run.
2019-04-10 17:07:13 +02:00
Marcello Stanisci
9914a9b301
Adapt "/history" tests to the new policy of 'start' defaults. 2019-03-21 18:47:35 +01:00
Marcello Stanisci
15c1a877c6
/history API semantics extended.
That API has now a new 'ordering' flag that lets the
client choose what ordering the results should have:
ascending or descending.

In particular, this change adapted the fakebank and
tests logic to such introduction.
2018-12-14 19:25:42 +01:00
Marcello Stanisci
c1a75b5b98
Adapt test to bank returning descending /history elements. 2018-12-13 19:44:58 +01:00
Florian Dold
1541f2c2d6
fix test setup invocation 2018-08-19 11:41:58 +02:00
Marcello Stanisci
40b27a8210
Tests flexibility.
It is now possible to launch the bank from
the testing-lib regardless of it being served
via HTTP or UWSGI.
2018-05-04 15:46:07 +02:00
Marcello Stanisci
b8ab8f01c7
address double-slash situation. 2018-04-23 15:59:48 +02:00
Marcello Stanisci
53cf576e62
bank-lib's twisted tests scaffold 2018-03-17 02:05:47 +01:00
Marcello Stanisci
b593d416d6
Bank-lib tests, using the new (libraries-based) style. 2018-02-26 14:12:46 +01:00