- Dec 10, 2020
-
-
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
For unit test purposes, we need to do: `from silkaj import module` instead of `from silkaj.module import function1, function2` Otherwise, we can't patch 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
- Dec 08, 2020
-
-
matograine authored
* reason: "moulid" new uid creates conflict with "moul" and makes tests fail
-
- Dec 06, 2020
- Nov 18, 2020
-
-
matograine authored
-> return error in that case. -> displays an error for each wrong pubkey * write tests for errors on `balance` command
-
- Nov 05, 2020
-
-
Moul authored
-
- Oct 26, 2020
- Oct 25, 2020
-
-
Moul authored
Requires Python 3.6.8 Remove test job
-
Moul authored
-
Moul authored
-
Moul authored
Not added as a direct dependency, since it is a DuniterPy dependency And Silkaj won't get away from DuniterPy, nor DuniterPy will stop using base58.
-
Moul authored
-
Moul authored
Not compatible with Poetry v1.0 Update dependencies
-
Moul authored
- Set poetry-core v1.0.0 as requirement and new build system https://python-poetry.org/blog/announcing-poetry-1-1-0.html
-
- Oct 20, 2020
-
-
Moul authored
-
- Oct 18, 2020
-
- Oct 17, 2020
- Oct 14, 2020
- Oct 11, 2020
-
-
matograine authored
-
matograine authored
change the tests to match the new behavior
-
matograine authored
* for display * as input
-
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
-