- Dec 10, 2020
-
-
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
-
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
-
- Oct 11, 2020
-
-
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
* move test_display_amount() and test_display_pubkey() from test_unit_tx.py to test_tui.py
-