Commit graph

525 commits

Author SHA1 Message Date
Victor Shyba
f49578cdbc fix integration test 2019-02-21 21:14:51 -03:00
Victor Shyba
61132312dd test nullify length on blob delete 2019-02-21 21:00:20 -03:00
Victor Shyba
edb5083a5e test that corrupted sd blobs gets delete if fails to decode 2019-02-21 20:53:04 -03:00
Victor Shyba
aa40337ded test that invalid blobs raise proper exception 2019-02-21 20:42:36 -03:00
Jack Robison
57ad9f1c52
test_add_peer_after_handle_request 2019-02-21 11:34:25 -05:00
Jack Robison
d06d998c81
improve KBucket test_add_peer 2019-02-21 10:50:11 -05:00
Jack Robison
fcbdaa336f
fix KBucket.key_in_range
The range_min and range_max of a KBucket where mistakenly bounding the node id of a peer to be added rather than the distance from the local node id to the peer node id
2019-02-19 13:57:11 -05: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
Thomas Zarebczan
03396c1993 remove invalid reflector_component test config 2019-02-18 17:10:42 -05:00
Jack Robison
fc450eb164
add TestMimeTypes, pylint 2019-02-15 20:42:55 -05:00
Jack Robison
dbb6ba6241
recover streams with missing sd blobs, handle previous sd blob bugs
-test download and recover stream with old key sorting
2019-02-15 15:21:29 -05:00
Jack Robison
39737c790f
sync blob files in database with those in directory on startup 2019-02-15 15:21:07 -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
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