Commit graph

27 commits

Author SHA1 Message Date
Kay Kurokawa
915ab668f5 add some tests to make sure file status after reflector server download (make sure in stopped state, and have correct number of blobs) 2017-12-05 13:18:31 -05:00
Kay Kurokawa
95289952b5
No need to set up DummmyRateLimiter for reflector test 2017-12-04 13:08:34 -05:00
Kay Kurokawa
4971ddda78
No need to check for None in reflector test tear down 2017-12-04 13:08:34 -05:00
Kay Kurokawa
ae74d80c8a
add lbry_file_manager to reflector server in functional reflector test, make sure file is added to lbry_file_manager when reflected 2017-12-04 13:08:34 -05:00
Kay Kurokawa
c007ebd121
Fix test 2017-11-28 11:53:17 -05:00
Kay Kurokawa
ed4104820d merge tests.dht into tests.unit.dht 2017-11-16 14:45:42 -05:00
Kay Kurokawa
7e8f3254b1 Add to DHT Node class initialization argument peerPort where it serves blobs, instead of specifying it in announceHaveBlob 2017-11-07 09:56:40 -05:00
Ian Chamberlain
20e9ff2902 Delete blob hash from list when blob is deleted 2017-11-05 21:56:54 -05:00
Ian Chamberlain
733e356e55 Fix failing ConnectionManager unit test 2017-11-04 15:15:04 -04:00
Kay Kurokawa
9470b318b0 moved BLOB_SIZE in conf to MAX_BLOB_SIZE constant in blob.blob_file 2017-10-31 15:38:00 -04:00
Kay Kurokawa
51d4668763 fix test 2017-10-31 15:38:00 -04:00
Kay Kurokawa
7e7931fbf1 add Bittrex feed as a redundant feed, add unit test for it 2017-10-31 15:35:01 -04:00
Miroslav Kovar
433547407e Added tests. 2017-10-31 15:35:01 -04:00
Jack Robison
e4d2a3d2ec Merge branch 'master' into android_tests_refactoring 2017-10-25 12:01:37 -04:00
Jack Robison
edb8928f5c
update tests 2017-10-24 20:25:59 -04:00
Akinwale Ariwodola
e522e7e7f7 Changed AssertionError to ValueError. Skip tests that cannot pass on Android. 2017-10-17 03:15:50 +01:00
Kay Kurokawa
574660cc20 add test to count the number of blobs created by EncryptedFileCreator 2017-10-12 11:16:20 -04:00
Akinwale Ariwodola
0291482abb raised errors directly instead of wrapping with AssertionError 2017-10-11 07:59:30 +01:00
Jack Robison
c7acb31614
add dht tests 2017-10-10 13:55:35 -04:00
Jack Robison
e9fd8eb096
update tests and scripts 2017-10-10 13:55:31 -04:00
Jack Robison
7898b9c2d8
Merge branch 'master' into add_more_session_info 2017-10-09 10:39:48 -04:00
Kay Kurokawa
d9cc81766d
use DeferredLock instead of threading.Lock() as it can cause deadlocks 2017-10-06 17:05:10 -04:00
Kay Kurokawa
2115919c55
Add test when mutliple writers call _save_verified_blob at once, this will cause deadlock 2017-10-06 16:34:45 -04:00
Kay Kurokawa
db0bc92087
add unit tests for should annouce functions in BlobManager 2017-10-05 13:59:50 -04:00
Akinwale Ariwodola
63dd57aaea fixed long string concatenation and merged with master 2017-10-02 17:13:45 +01:00
Akinwale Ariwodola
91498822ae fixed all pylint errors 2017-09-29 11:44:22 +01:00
Akinwale Ariwodola
2abe85ba25 moved tests into the lbrynet package 2017-09-28 18:21:26 +01:00