Commit graph

81 commits

Author SHA1 Message Date
Lex Berezhny f4c6dc90c9 updated references lbrynet.core -> lbrynet.p2p 2018-11-04 20:25:24 -05:00
Lex Berezhny b6d986cb40 updated references after moving lbrynet/database into lbrynet/extras/daemon 2018-11-04 20:25:24 -05:00
Lex Berezhny f1f0917063 updated all references to point to new reflector location 2018-11-04 20:25:24 -05:00
Hugo d0a7ca841b Upgrade unit tests to use more useful asserts 2018-10-23 12:02:10 -04:00
Hugo 2e6c848c39 Upgrade Python syntax with pyupgrade --py36-plus 2018-10-23 12:02:10 -04:00
Hugo 3f704be85c Fix spelling 2018-10-18 14:40:37 +03:00
Victor Shyba ea6b2b98fb refactor ping queue 2018-10-03 19:21:48 -03:00
Jack Robison 673d259d7a
Merge branch '1446' 2018-10-01 08:34:57 -04:00
Victor Shyba b4aa51444c fix peer_ping for inexistent peers 2018-10-01 02:09:47 -03:00
Victor Shyba 7eb9f344f4 test recover from invalid tokens 2018-09-28 13:47:37 -03:00
shyba eab95a6246
DHT fixes from review and an attempt at removing hashing and equals (#1370)
* use int to_bytes/from_bytes instead of struct
* fix ping queue bug and dht functional tests
* run functional tests on travis
* re-add contact comparison unit test
* dont need __ne__ if its just inverting __eq__ result
2018-08-24 11:42:35 -04:00
Victor Shyba 0841c90e6c
fix encoding on download 2018-08-24 11:42:06 -04:00
Victor Shyba 04836ea0d9
fixes from review 2018-08-24 11:40:43 -04:00
Victor Shyba 451823f33e
test_misc and test_streamify functionals on py3 2018-08-24 11:40:43 -04:00
Victor Shyba 8c3552dd34
port reflector 2018-08-24 11:40:43 -04:00
Lex Berezhny bc24dbea29
refactoring of DHT tests and fixed encoding bug when dealing with bytearray 2018-08-24 11:40:43 -04:00
Victor Shyba 31630a84be
reduce entropy on DHT test suite 2018-08-24 11:40:43 -04:00
Victor Shyba b25d592d99
more dht fixes and most of functional tests 2018-08-24 11:37:53 -04:00
Victor Shyba 78c8c8e64d
more porting, plus some functional tests working 2018-08-24 11:37:53 -04:00
Lex Berezhny d35d340613
fixing unit tests
fixing integration tests
skip running functional tests on travis until they are fixed
2018-08-24 11:37:53 -04:00
Victor Shyba e1e7be63b8
more fixes on dht functionals 2018-08-24 11:37:53 -04:00
Victor Shyba e1314a9d1e
working functional test_contact_rpc + more string bans 2018-08-24 11:37:53 -04:00
Lex Berezhny fbdbcc8070
assertEquals() -> assertEqual() 2018-08-24 11:37:53 -04:00
Lex Berezhny 24a872885a
xrange() -> range() 2018-08-24 11:37:53 -04:00
Victor Shyba cea3b7630c
partial dht functional tests porting to py3 2018-08-24 11:37:53 -04:00
Lex Berezhny 17738ad248
import fixes due to tests directory moving 2018-08-24 11:37:53 -04:00
Lex Berezhny 545451a829
moved ./lbry/tests to ./tests 2018-08-24 11:37:53 -04:00
Akinwale Ariwodola 2abe85ba25 moved tests into the lbrynet package 2017-09-28 18:21:26 +01:00
Kay Kurokawa 4941d1d31d
test when you have a v1 blob reflect before a stream reflect over the same blobs 2017-09-22 14:46:28 -04:00
Kay Kurokawa 474ce21a51
add more tests in test_reflector, make sure stream info is not affected for blob client v1 2017-09-22 14:39:39 -04:00
Kay Kurokawa 4d5ba94a6e
add tests for checking stream info on reflector server 2017-09-22 14:39:37 -04:00
Jack Robison 6cbe86d057
rename is_validated() to get_is_verified() to distinguish from verified property 2017-09-20 14:02:34 -04:00
Kay Kurokawa 30689b09e6 fix tests to not use TempBlobManager and use tempfile to create temporary directories for DiskBlobManager 2017-07-27 13:38:35 -04:00
Kay Kurokawa 00b6808ded fix functional tests for windows 2017-07-02 21:58:11 -04:00
Jack Robison eba74b97bd rename lbrynet.lbryfilemanager to lbrynet.file_manager 2017-06-25 21:04:04 -04:00
Jack Robison 1ec3218f18 rename lbrynet.lbryfile to lbrynet.lbry_file 2017-06-25 21:03:37 -04:00
Kay Kurokawa 613278de12 fix test_misc, check before deleting 2017-06-23 10:24:27 -04:00
Alex Grintsvayg 2353dbcb00 refactor analytics 2017-04-26 14:19:03 -04:00
Alex Grintsvayg 54c29d4a8d formatting 2017-04-10 13:45:43 -04:00
Alex Grintsvayg a2eb0cad33 delete live lbrylive livestreaming code 2017-04-10 13:45:43 -04:00
Jack Robison 9744287370 change attribute "uri" to "name" 2017-03-07 18:29:44 -05:00
Jack Robison 8bba5c04db update tests and changelog 2017-02-16 09:12:57 -05:00
jobevers f7c105fd80 fixes 2017-02-15 06:48:59 -06:00
jobevers 9e2cda0cdc remove more upload_allowed arguments 2017-02-15 06:48:58 -06:00
Job Evers-Meltzer 439a840700 Better log in tests on failure 2017-02-15 06:48:58 -06:00
Jack Robison 7720724ec0 reflect lbry_files in looping call in EncryptedFileManager
-remove ManagedEncryptedFileDownloader._reupload

-clean up reflector functions in Daemon, move to reflector.reupload

-check ConnectionLost in reflector client

-close sd blob file handle when it wont be sent (otherwise read handle stays open)

-log reflector sd info

-give reflector client factory a lbry file
2017-02-13 15:13:37 -05:00
Jack Robison d053db8dfd add uri to stream reflector for better logging 2017-02-08 14:28:16 -05:00
Jack Robison 4c76e1b98f add blob reflector and v1 tests 2017-02-06 15:56:00 -05:00
Alex Grintsvayg 267c6cbaca refactor conf.settings 2017-01-16 22:32:54 -05:00
Alex Grintsvayg 628defa891 remove extraneous ellipses in messages 2017-01-11 15:39:28 -05:00