Commit graph

199 commits

Author SHA1 Message Date
Jack Robison
993cb43e5b fix tests
-fix cleanup of a failed download
2019-03-12 20:22:01 -04:00
Brannon King
8d9da61c7d reverted temporary code for full local stack from 2019-03-05 09:32:43 -05:00
Brannon King
5bdd87c904 removed name-to-claim lookup table
added unit test for Greek and made it work


pylint: revert bad move


revert claim_sequence changes


fixed broken test
2019-03-05 09:32:43 -05:00
Victor Shyba
f49578cdbc fix integration test 2019-02-21 21:14:51 -03:00
Lex Berezhny
0fdd2ae178 added tx to JSON response from get 2019-02-18 22:53:11 -05:00
Victor Shyba
8c5007fe07 assert amount transferred to correct account 2019-02-18 22:53:11 -05:00
Victor Shyba
ce2bb22929 add tests for paid downloads 2019-02-18 22:53:11 -05:00
Lex Berezhny
1ce3adb6a0 reduce integration test verbosity 2019-02-18 21:45:37 -05:00
Victor Shyba
71b66ab337 test stall unban 2019-02-18 17:16:10 -05:00
Victor Shyba
320aabbd70 delete duplicated method accident from rebase 2019-02-15 10:26:05 -05:00
Jack Robison
1734e08297
fix test 2019-02-14 16:34:37 -05:00
Victor Shyba
be5ab0f307 test get retry 2019-02-14 00:10:44 -05:00
Victor Shyba
60ba07cc17 add tests for incomplete files, update existing one 2019-02-14 00:10:44 -05:00
Victor Shyba
d91e8f5996 revert import to original one + remove print 2019-02-13 23:33:49 -05:00
Victor Shyba
3fce8e4023 tests resuming downloads with conflicting file names 2019-02-13 23:33:49 -05:00
Victor Shyba
266e777655 add integration test for different download errors 2019-02-12 20:58:31 -05:00
Lex Berezhny
396c49f7c6 passing get, file list and file delete tests 2019-02-12 11:54:00 -05:00
Lex Berezhny
5e509c9fd6 testing get 2019-02-12 11:54:00 -05:00
Lex Berezhny
e6b6a3f55e dedicated transaction commands tests 2019-02-12 11:54:00 -05:00
Lex Berezhny
019af119d9 moved test_cli.py up one level 2019-02-12 11:54:00 -05:00
Lex Berezhny
58da2f16c2 use absolute imports instead of relative 2019-02-12 11:54:00 -05:00
Lex Berezhny
65c6c83b51 reusable command testcase 2019-02-12 11:54:00 -05:00
Lex Berezhny
f497989871 split out claim commands 2019-02-12 11:54:00 -05:00
Lex Berezhny
5366779b1b moved all other tests out of test_chris45.py and into dedicated files 2019-02-12 11:54:00 -05:00
Lex Berezhny
a3f59f041a dedicated integration tests for account commands 2019-02-12 11:54:00 -05:00
Lex Berezhny
d560b0c1cd dedicated integration tests for resolve command 2019-02-12 11:54:00 -05:00
Lex Berezhny
e94229121a explicitly set LEDGER 2019-02-12 11:54:00 -05:00
Lex Berezhny
097291a498 moved wallet integration tests up one level to simplify 2019-02-12 11:54:00 -05:00
Jack Robison
6e69d306de
tests 2019-01-31 15:39:23 -05:00
Jack Robison
778d3826ab
clean up settings and use them 2019-01-28 15:51:27 -05:00
Lex Berezhny
ed6537db79 integration test fixes 2019-01-24 00:13:15 -05:00
Lex Berezhny
2ca438c36e passing integration tests 2019-01-24 00:13:15 -05:00
Jack Robison
69b259c285 async lbrynet.blob_exchange 2019-01-24 00:13:15 -05:00
Victor Shyba
94dc8c8520 add tests for claim_list 2019-01-23 09:36:27 -05:00
Lex Berezhny
19b0d59159 config options api_host and api_port changed to just api 2019-01-22 18:04:17 -05:00
Lex Berezhny
1ae1137005 fixing integration tests 2019-01-22 18:04:17 -05:00
Lex Berezhny
d0230b4893 command line fixes 2019-01-22 18:04:17 -05:00
Victor Shyba
6ed3207cb7 phase1: legacy claim format, ability to decode new format 2019-01-17 23:24:58 -05:00
Victor Shyba
68b56b7858 adds test for claim_show 2019-01-17 23:24:58 -05:00
Victor Shyba
d32697f611 adjust assertions for fee changes 2019-01-17 23:24:58 -05:00
Victor Shyba
0dfb5e008d add integration test with unserializable claim 2019-01-17 23:24:58 -05:00
Victor Shyba
36aded3830 store original payload for signing and verifying 2019-01-17 23:24:58 -05:00
Victor Shyba
523c4c86a9 change default curve to SECP256k1, pass name parameter 2019-01-17 23:24:58 -05:00
Victor Shyba
70471eebfa wallet server and resolve working, functional test 2019-01-17 23:24:58 -05:00
Lex Berezhny
31586bf588 error out when user tries --http-auth 2019-01-17 19:04:52 -05:00
Oleg Silkin
0f1ed589a5 Modifies the unit tests for the analytics manager to have async routines
Signed-off-by: Oleg Silkin <o.silkin98@gmail.com>
2019-01-11 14:33:45 -05:00
Lex Berezhny
712b19605e Revert "fix breaking integration tests after fees changed due to content_type modification"
This reverts commit 0613cf2d59.
2019-01-10 10:22:37 -05:00
Lex Berezhny
0613cf2d59 fix breaking integration tests after fees changed due to content_type modification 2019-01-08 17:54:40 -05:00
Lex Berezhny
c186c31bf7 simplified component setup 2019-01-07 21:56:05 -05:00
Lex Berezhny
248baf58b4 asyncio daemon 2019-01-07 21:56:05 -05:00
Lex Berezhny
e65e1fb5a2 added utxo_release command 2019-01-04 03:14:37 -05:00
Jack Robison
b8b0d8b1ac
refactor default directory setup, remove lbrynet.androidhelpers
fixes https://github.com/lbryio/lbry/issues/1606
2018-12-12 17:46:10 -05:00
Victor Shyba
5fad43ff69 fix test tear down and unify test_commands 2018-12-11 16:34:37 -05:00
Victor Shyba
d1b0180437 add tests for claim_list_by_channel 2018-12-11 16:34:37 -05:00
Victor Shyba
7713881e71 additional tests for resolution border cases 2018-12-08 14:40:37 -05:00
Lex Berezhny
72090b45dd confirmations is returned as int 2018-12-06 00:49:07 -05:00
Lex Berezhny
16ff4b4e2c confirmations fix 2018-12-06 00:49:07 -05:00
Lex Berezhny
98d83ea74f fix for integration test 2018-12-05 12:14:43 -05:00
Jack Robison
a6128ac8a2
fix https://github.com/lbryio/lbry/compare/fix-1674 2018-12-04 17:35:40 -05:00
Victor Shyba
f7c7cb9535 fix transaction_show 2018-12-04 12:12:08 -05:00
Lex Berezhny
4af830c405 tests for transaction_list going through claim creation -> claim update -> claim abandon 2018-11-28 18:03:33 -05:00
Lex Berezhny
fe844581fd correctly split value/fee in transaction_list 2018-11-28 18:03:33 -05:00
Victor Shyba
ea6869a63e allow invalid sigs claims to show outside a channel 2018-11-27 15:36:53 -03:00
Victor Shyba
bc28976e12 adds test for claims on abandoned channels 2018-11-26 11:32:41 -05:00
Lex Berezhny
dd1d1be994 working claim_send_to_address 2018-11-19 20:34:38 -05:00
Jack Robison
a6b643bb34
move files 2018-11-09 16:52:42 -05:00
Jack Robison
253912b52e
fix skipping dht, peer_protocol_server, and hash_announcer components
-move PeerFinder and PeerManager initialization to the ComponentManager

-remove dht component requirement from all but the hash_announcer component. This allows running the file manager component without either of the server components.
2018-11-09 14:16:33 -05:00
Lex Berezhny
3d8b9e2b66 block=False for abandon during erics epic adventure tests 2018-11-07 18:28:02 -05:00
Lex Berezhny
64898d43f1 tearDown() should run before daemon shutdown 2018-11-07 18:28:02 -05:00
Lex Berezhny
b2117fddab on_transaction -> ledger.wait 2018-11-07 18:28:02 -05:00
Lex Berezhny
934682bd0f --blocking support in abandon command 2018-11-07 18:28:02 -05:00
Lex Berezhny
83c0baa3cb test abandoning claim at a loss, required a fix in torba 2018-11-07 10:57:11 -05:00
Lex Berezhny
340c5addab insufficientfundserror test 2018-11-07 10:57:11 -05:00
Lex Berezhny
0ae5f1a4c6 added fix for #1533 2018-11-07 10:57:11 -05:00
Lex Berezhny
90e06abba2 fixes for #1569 2018-11-07 10:57:11 -05:00
Lex Berezhny
264e6744e1 updated references after moving conf to lbrynet.extras.daemon.conf 2018-11-04 20:25:24 -05:00
Lex Berezhny
f4c6dc90c9 updated references lbrynet.core -> lbrynet.p2p 2018-11-04 20:25:24 -05:00
Lex Berezhny
eee964cfa0 updated references to daemon after moving it to extras 2018-11-04 20:25:24 -05:00
Lex Berezhny
8ca2b75c80 lbryumx -> lbrynet.extras.wallet.server 2018-11-04 10:50:15 -05:00
Victor Shyba
e46f0e2444 fix namespace lbryschema->lbrynet.schema 2018-11-04 10:50:15 -05:00
Lex Berezhny
699c057f2d upgrading to new torba 2018-11-04 02:28:36 -05:00
Lex Berezhny
2ddf1a08f6 publish command supports custom account list to lookup channels 2018-10-17 19:37:54 -04:00
Lex Berezhny
8b3a457925 improve integration test reliability 2018-10-16 21:28:47 -04:00
Lex Berezhny
5eac4247e1 working integration tests 2018-10-16 17:09:21 -04:00
Lex Berezhny
21702ec43c asyncio progress for victor 2018-10-16 17:09:21 -04:00
Lex Berezhny
d2083bc17e for victor 2018-10-16 17:09:21 -04:00
Lex Berezhny
64e306801d updated wallet to use asyncio 2018-10-16 17:09:21 -04:00
Lex Berezhny
64913c4288 JSON RPC output for TXOs now includes: height, confirmations and valid_signature 2018-10-12 10:41:49 -04:00
Lex Berezhny
b2c95f35c7 fixed test_transaction reliability 2018-10-09 21:32:32 -04:00
Lex Berezhny
3664c25d98 changed lbry account.get_balance() to have same confirmations default as baseaccount.get_balance() 2018-10-08 15:02:52 -04:00
Lex Berezhny
7f7961f4cc updated integration tests after reducing required confirmations to 0 2018-10-08 15:02:52 -04:00
Lex Berezhny
9d9916548b added channel/signature annotation to all TXOs, support for pagination 2018-10-08 15:02:52 -04:00
Lex Berezhny
2f95c3a9d1 wallet integration test fixes 2018-10-03 18:06:22 -04:00
Lex Berezhny
6039159ecc use d2l/l2d in integration tests 2018-10-03 18:06:22 -04:00
Victor Shyba
e1130147b5 fix format of resolve on inexistent URI 2018-09-27 15:30:53 -04:00
Victor Shyba
1c2849235c send startup event right after setup 2018-09-25 17:49:23 -04:00
Lex Berezhny
1fb7ffd759 fix integration test to pass amount as decimal string 2018-09-24 01:25:23 -04:00
Mark Beamer Jr
3fcca4bc47 adjusted test to pass string instead of number 2018-09-24 01:25:23 -04:00
Mark Beamer Jr
12c73cf50c adjusted e2e test to use 1.0 instead of 1 per eukreign which came from lyoshenko. 2018-09-24 01:25:23 -04:00
Lex Berezhny
bcf7218b66 fix integration test 2018-09-21 23:24:50 -04:00