- Dec 15, 2020
-
-
matograine authored
* with empty issuer pubkey account * with positive issuer pubkey account
-
matograine authored
-
matograine authored
* --amountUD in inferior to 1e-6
-
- Dec 10, 2020
-
-
matograine authored
* make one test only errors * move it from test_unit_tx.py to test_tx.py
-
matograine authored
* modify values to facilitate test writing * rename `amount` variable to `balance` * create test_constants file to prevent circular dependencies * modify relevant files : import mock_ud_value from patched.test_constants instead of patched.money * patched_get_sources() now has a `counter` attribute, and can return different values if called twice * can mock the result of an intermediary transaction. * mod test_get_list_input_for_transaction() * to reset the patched_get_sources counter. * to make values match new patch behavior * to comment what is tested
-
matograine authored
-
matograine authored
* create patched directory * create files matching the silkaj modules * money.py * tools.py * wot.py * blockchain_tools.py * delete patched.py * change calls in the tests
-
- Dec 09, 2020
-
-
atrax authored
-
- Sep 08, 2020
-
-
Moul authored
-
- Jun 05, 2020
-
-
Moul authored
-
Moul authored
Click https://click.palletsprojects.com/en/7.x/changelog/#version-7-1-2 - Fix test: the error message changed from double to simple cotes PyNaCl: https://github.com/pyca/pynacl/blob/master/CHANGELOG.rst#140-2020-05-25 Pytest: https://docs.pytest.org/en/latest/changelog.html#pytest-5-4-3-2020-06-02
-
- Jun 01, 2020
-
-
Moul authored
-
- Apr 07, 2020
-
-
matograine authored
* transaction_amount() now returns the amounts list. * modify tests in tests_tx.py for transaction_amount to match new behavior * create unit tests in tests_unit_tx.py
-
matograine authored
* both constants imported to tx.py * MINIMAL_TX_AMOUNT used in --amount click option * import silkaj.money and change related functions calls * introduce one test case for send_transaction()
-
matograine authored
* Breaking change: Rename `--output` option to `--recipient` * Add extra small options to ease passing multiple amounts and recipients: * `-a/--amount` * `-d/--amountUD` * `-r/--recipient` * Add possibility to pass multiple options: * Breaking change: recipients public keys are no longer `:` separated: `-r A -r B` * Store the options in variables names in plural for preciseness * Fix: Handle the case when no option specifying the amount is passed * Restrict `--allSources` option to a single recipient, case not handle for now * Extend tests with two upper checks * Improve help
-
- Sep 08, 2019