diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-08-13 00:41:53 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-08-13 00:41:53 +0530 |
commit | db65f0a20669a81cb7db4425d7d044b8ff49952a (patch) | |
tree | 280ebbc25fdc3aed12ae3ebbecb692c1b0e39093 /tests/__init__.py | |
parent | e9ed3b18672af919efa12364b97fd2b7efe21cd9 (diff) |
remove old tests, superseded by the JS-based harness
Diffstat (limited to 'tests/__init__.py')
-rw-r--r-- | tests/__init__.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/__init__.py b/tests/__init__.py deleted file mode 100644 index 333953b9d..000000000 --- a/tests/__init__.py +++ /dev/null @@ -1,23 +0,0 @@ -import json - -from taler.util.amount import Amount - - -def check_single_balance( - balances, - available, - pending_in=Amount.parse("TESTKUDOS:0"), - pending_out=Amount.parse("TESTKUDOS:0"), -): - assert len(balances) == 1 - assert Amount.parse(balances[0]["available"]) == available - assert Amount.parse(balances[0]["pendingIncoming"]) == pending_in - assert Amount.parse(balances[0]["pendingOutgoing"]) == pending_out - - -def json_to_amount(d): - return Amount(d["currency"], d["value"], d["fraction"]) - - -def print_json(obj): - print(json.dumps(obj, indent=2)) |