- Jun 23, 2023
-
-
Moul authored
Adapt click UI changes error report tests Adapt tests with patched click
-
- Jun 05, 2023
- May 26, 2023
-
-
Moul authored
-
- Oct 30, 2022
-
-
Moul authored
monkeypatch transfer_file
-
- Oct 17, 2022
-
-
Moul authored
Adapt tests
-
- Oct 14, 2022
- Jun 07, 2022
-
-
Moul authored
-
- May 07, 2022
- Apr 29, 2022
-
-
Moul authored
-
- Mar 21, 2022
-
-
Moul authored
Introduce function to parse the file and compute the values Comments (#) are ignored ABSOLUTE/RELATIVE header required to specify the reference of the specified amounts Set recipients argument to no longer required, add a check instead Set file mutuality exclusive with amounts(UD), allsources, and recipients Update tx cli tests Add tests
-
- Mar 07, 2022
-
-
Moul authored
-
- Jul 25, 2021
-
-
Moul authored
assert_*_awaited_*() −> assert_*_called_*() Precise tests with assert_called_once() on the confirmation
-
- Jun 07, 2021
-
-
Moul authored
-
- May 13, 2021
-
-
Moul authored
-
- Mar 24, 2021
- Mar 15, 2021
-
-
matograine authored
-
- Jan 17, 2021
-
-
Moul authored
-
- 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
-
-
Moul authored
-