Commit graph

555 commits

Author SHA1 Message Date
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
119d498bce apply a timeout on test wait so if it hangs it fails fast 2019-02-13 13:10:27 -05:00
Victor Shyba
8108aa39c1 verify all blobs got transferred 2019-02-13 13:10:27 -05:00
Victor Shyba
1193d2cea4 adds tests for chunked responses 2019-02-13 13:10:27 -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
c9d54bb049
fix max_key_fee 2019-02-11 15:26:13 -05:00
Victor Shyba
8b25acff6e do not wait blob to be written, log errors from races 2019-02-08 04:32:53 -03:00
Victor Shyba
3a15ff4bcd test incomplete streams, respect real length, delete on incomplete assembly 2019-02-06 15:56:06 -03:00
Jack Robison
dfdc8eda00
improve test, fix stream_finished_event 2019-02-06 13:32:50 -05:00
Jack Robison
58f6cb71c6
test stream manager 2019-02-06 13:08:57 -05:00
Jack Robison
ae11c5bb4b
fix setting finished event 2019-02-06 12:18:24 -05:00
Jack Robison
76c8447a56
add stream descriptor tests 2019-02-05 21:25:31 -05:00
Victor Shyba
c31e61586d tests: fix value, compare to blobs len 2019-02-05 13:01:12 -03:00
Victor Shyba
30846f932b test that creating a stream marks sd and head to announce 2019-02-05 13:01:12 -03:00
Victor Shyba
e9b58577dd tests: verify completed and to announce after assembling streams 2019-02-05 13:01:12 -03:00
Jack Robison
f0b49fc153
always return close peers from findValue 2019-02-04 15:07:42 -05:00
Victor Shyba
ca4a55ef28 set verified event earlier and remove stop awaits 2019-02-01 16:05:14 -03:00
Jack Robison
6e69d306de
tests 2019-01-31 15:39:23 -05:00
Jack Robison
6ad68eabd9
tests 2019-01-31 15:39:20 -05:00
Jack Robison
ca5c638124
tests 2019-01-31 15:39:20 -05:00
Victor Shyba
2e633c0ee6 fix chunked requests for server 2019-01-30 12:11:05 -03:00
Jack Robison
1a4f083e76
skip test 2019-01-28 22:50:06 -05:00
Jack Robison
4630fd38aa
fix async generator junction tests 2019-01-28 22:39:36 -05:00
Jack Robison
778d3826ab
clean up settings and use them 2019-01-28 15:51:27 -05:00
Jack Robison
4a11cf007f
remove unused settings and constants 2019-01-27 19:51:44 -05:00
Jack Robison
573285a5bb
fix error encoding find value response 2019-01-26 17:04:11 -05:00
Lex Berezhny
8a3b8d2df1 max_key_fee in yaml as null 2019-01-25 23:20:43 -05:00
Lex Berezhny
be0bd3bdea refactored --max-key-fee to be more ergonomic 2019-01-25 23:20:43 -05:00
Lex Berezhny
6e29f7e99b user is shown help when typing lbrynet help 2019-01-25 20:28:47 -05:00
Jack Robison
3e3f6c0e22
fix test 2019-01-25 16:20:19 -05:00
Jack Robison
a7610e3d34
async reflector 2019-01-25 16:10:17 -05:00
Jack Robison
126d71978b
disable slow test 2019-01-25 15:38:38 -05:00
Jack Robison
69bcb052de
fix blob server protocol factory 2019-01-25 13:10:40 -05:00
Lex Berezhny
4a35247016 fixes for toggle config, passing servers as list, etc 2019-01-25 10:19:24 -05:00
Lex Berezhny
143353be44 fix cli unit test 2019-01-25 10:19:24 -05:00
Lex Berezhny
0373196707 max_key_fee is plain YAML now 2019-01-25 10:19:24 -05:00
Lex Berezhny
ed6537db79 integration test fixes 2019-01-24 00:13:15 -05:00
Lex Berezhny
c2b9909397 moved tests/unit/lbrynet_daemon/test_docs.py into tests/unit/test_cli.py 2019-01-24 00:13:15 -05:00
Lex Berezhny
afff362544 component tests need AsyncioTestCase 2019-01-24 00:13:15 -05:00
Lex Berezhny
64eb7dbc49 renamed test_Component_Manager.py to test_component_manager.py 2019-01-24 00:13:15 -05:00
Lex Berezhny
2dcd187d69 fixed component manager tests 2019-01-24 00:13:15 -05:00
Lex Berezhny
1bbbbd289c TestCase -> AsyncioTestCase 2019-01-24 00:13:15 -05:00
Lex Berezhny
e33b74f60c import mock from unittest m0ar 2019-01-24 00:13:15 -05:00
Lex Berezhny
cd76e0c296 import mock from unittest 2019-01-24 00:13:15 -05:00
Lex Berezhny
2ca438c36e passing integration tests 2019-01-24 00:13:15 -05:00
Jack Robison
5596eac930 merge conflicts 2019-01-24 00:13:15 -05:00
Jack Robison
59f5381b0a update tests 2019-01-24 00:13:15 -05:00
Jack Robison
ea15674e62 delete old dht functional tests 2019-01-24 00:13:15 -05:00
Jack Robison
34a725f7ad fix conf 2019-01-24 00:13:15 -05:00
Jack Robison
bb6112276f delete old tests 2019-01-24 00:13:15 -05:00
Jack Robison
4bf7742c19 async lbrynet.stream 2019-01-24 00:13:15 -05:00
Jack Robison
69b259c285 async lbrynet.blob_exchange 2019-01-24 00:13:15 -05:00
Jack Robison
2fa5233796 async lbrynet.dht 2019-01-24 00:13:15 -05:00
Jack Robison
a5524d490c async lbrynet.blob 2019-01-24 00:13:15 -05:00
Lex Berezhny
7a038bbb98 cli bug fixes 2019-01-23 13:25:10 -05:00
Victor Shyba
94dc8c8520 add tests for claim_list 2019-01-23 09:36:27 -05:00
Lex Berezhny
2dbf96da81 blob downer test fixes 2019-01-22 18:04:17 -05:00
Lex Berezhny
6606deafa5 fixed after testing with desktop app 2019-01-22 18:04:17 -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
9ccb3fa2a3 unit/test_cli tests 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
Lex Berezhny
a6cd53b97c test_Daemon.py uses /tmp for data_dir 2019-01-22 18:04:17 -05:00
Lex Berezhny
7a28171a72 conf no longer global 2019-01-22 18:04:17 -05:00
Lex Berezhny
150bcb1116 new configuration manager, first pass 2019-01-22 18:04:17 -05:00
Jack Robison
3a86fc6680
refactor exchange rate manager to use asyncio 2019-01-22 11:34:49 -05:00
Lex Berezhny
bf8e32ebd2 remove custom logging 2019-01-19 16:30:19 -05:00
Victor Shyba
6ed3207cb7 phase1: legacy claim format, ability to decode new format 2019-01-17 23:24:58 -05:00
Victor Shyba
be6448b74f fix str/bytes confusion from resolve/claimdict on certificate_id 2019-01-17 23:24:58 -05:00
Victor Shyba
b707ee4844 encode and decode detached signatures from claim dict 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
abf94357eb tests and fixes for sig validation on undecode-able claims 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
d7ebf50602 detached as a parameter instead of class attribute 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
Victor Shyba
6339224980 tests for detached signatures 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
hackrush
6c8cbc1b9e added additional fields to uri parser 2019-01-11 15:10:22 -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
72c0acf269 test_HTTPBlobDownloader 2019-01-07 21:56:05 -05:00
Lex Berezhny
16e596ec87 lots o bugs fixed discovered while using desktop app 2019-01-07 21:56:05 -05:00
Lex Berezhny
3fdcb80960 minor test fixes 2019-01-07 21:56:05 -05:00