- 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 13, 2020
-
-
matograine authored
* create related test
-
- Dec 10, 2020
-
-
matograine authored
tests: * one amount in base 0 -> 1 output * one amount in base 2 -> 3 outputs of base 2, 1, 0 * one listinput to be extended with the amount.
-
matograine authored
-
matograine authored
* one test for good values * one test for errors catching the SystemExit.
-
matograine authored
* patch ClientInstance inside the testing function
-
matograine authored
* create patched_handle_intermediaries_transactions * patched_transaction_confirmation * patched_generate_and_send_transaction
-
matograine authored
* two test cases: * with two outputs and a backchange, without intermediary transaction * with one output and no backchange, with an intermediary transaction
-
matograine authored
* make one test only errors * move it from test_unit_tx.py to test_tx.py
-
matograine authored
* make test_membership.py use it * make test_generate_transaction_document use it
-
matograine authored
* importing silkaj.tx instead of each single function * remove useless UDValue import * change test_transaction_confirmation to use G1_SYMBOL as a constant
-
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
* Move patched functions from test_membership.py to relevant files * blockchain_tools.py * create mocked_block variable * make both patched_block and patched_head_block return mocked_block * auth.py * wot.py * modify a pubkey list in patched/wot.py * change calls in the tests * change pubkeys in patched/money.py to match new pubkey_list
-
matograine authored
* add patched auth functions
-
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
-
- Dec 08, 2020
-
-
matograine authored
* reason: "moulid" new uid creates conflict with "moul" and makes tests fail
-
- Nov 18, 2020
-
-
matograine authored
-> return error in that case. -> displays an error for each wrong pubkey * write tests for errors on `balance` command
-
- Oct 14, 2020
-
-
Moul authored
-
- Oct 11, 2020
-
-
matograine authored
change the tests to match the new behavior
-
matograine authored
* display * parameter * change tests/test_wot and test_end_to_end to match new behavior * change in choose_identity() will affect commands `cert` and `membership` display.
-
matograine authored
* Change test_end_to_end.py to match new behavior
-
matograine authored
* for each pubkey in the tx confirmation * when sending the transaction * modify the function display_pubkey() and related tests
-
matograine authored
and related tests
-
matograine authored
check_public_key() was used for money- and wot- related commands that have differend needs. * remove check_public_key() * create is_pubkey_and_check(), check_pubkey_format() and validate_checksum() * create related tests * modify tx, balance and history commands. * use is_pubkey_and_check() in `id` command and solve #320 * change imports in silkaj.money to prevent loop dependency
-
matograine authored
* gets a pubkey in for input * returns the checksum
-
matograine authored
* move test_display_amount() and test_display_pubkey() from test_unit_tx.py to test_tui.py
-
- Oct 03, 2020
- Sep 16, 2020
- Sep 08, 2020
-
-
Moul authored
-
Moul authored
to choose identity among identities from wot/lookup Display the uid, pubkey and the blockstamp to choose Add tests on choose_identity() Delete get_information_for_identity() based on top of the lookup Allow to pass pubkey to the following commands: The uid was the only identifier before Adapt 'wot' and 'cert' commands to choose_identity() Import silkaj.wot and click directly Import directly bma otherwise there is a namespace conflict on 'wot' on silkaj.wot and bma.wot
-
- Jul 07, 2020