Jack Robison
01a81fceed
more streaming_only + save_blobs integration testing
2019-04-24 09:48:04 -04:00
Jack Robison
46b166952b
non async blob_completed callback, tests
2019-04-24 09:48:04 -04:00
Jack Robison
7d782d516a
track and close blob readers
2019-04-24 09:48:04 -04:00
Jack Robison
d3eac48035
tests, add __slots__ to AbstractBlob
2019-04-24 09:48:04 -04:00
Jack Robison
04ddee7d89
blob tests
2019-04-24 09:48:04 -04:00
Jack Robison
3a916a8e8e
tests
2019-04-24 09:48:04 -04:00
Jack Robison
b230d8fbcb
rename BlobFileManager -> BlobManager
2019-04-24 09:48:04 -04:00
Lex Berezhny
26fec098e4
fix stream unit tests
2019-04-21 14:28:43 -04:00
Lex Berezhny
71f5061848
exposed new protobuf fields in APIs and updated tests
2019-04-21 00:45:51 -04:00
Lex Berezhny
633f725634
stream manager test fix
2019-04-20 02:33:41 -04:00
Lex Berezhny
60080cbd19
updating to new protobufs
2019-04-20 02:33:41 -04:00
Victor Shyba
76dea9e89b
batch save supports
2019-04-20 01:19:40 -04:00
Lex Berezhny
7b57ba96dd
fix docopt parsing and stream manager tests
2019-03-29 21:14:20 -04:00
Lex Berezhny
a3bd335f7f
--languages, --locations fully support all attributes, add BTC
2019-03-29 21:14:20 -04:00
Lex Berezhny
750c0e4f4f
fix cli test
2019-03-27 21:57:22 -04:00
Lex Berezhny
5f8482bdb7
hash -> sd_hash, encoding fixes, update to new protobufs
2019-03-27 21:57:22 -04:00
Lex Berezhny
183e3ac1c7
claim search
2019-03-25 22:54:08 -04:00
Lex Berezhny
e2964f9728
test cli fix, take 2
2019-03-25 22:54:08 -04:00
Lex Berezhny
e0cea60c87
fix cli test
2019-03-25 22:54:08 -04:00
Lex Berezhny
814eaca524
cli tests fixed
2019-03-25 22:54:08 -04:00
Lex Berezhny
e06916f5ae
fixing unit tests
2019-03-25 22:54:08 -04:00
Lex Berezhny
67dcede2d8
lots of stuff deleted
2019-03-25 22:54:08 -04:00
Lex Berezhny
d47575e8e0
progress
2019-03-25 22:54:08 -04:00
Lex Berezhny
664a2a324d
fix import error on stream unit test
2019-03-25 22:54:08 -04:00
Lex Berezhny
1d68bef6f2
client side pretty much done
2019-03-25 22:54:08 -04:00
Lex Berezhny
22bacc907b
moved test_channel_signing.py from tests/unit/schema to tests/unit/wallet
2019-03-25 22:54:08 -04:00
Lex Berezhny
1e8ad900c7
renamed test_signing.py to test_channel_signing.py
2019-03-25 22:54:08 -04:00
Lex Berezhny
cd2b535afb
moved claim signing to TXO
2019-03-25 22:54:08 -04:00
Lex Berezhny
1ec8f0b0b4
wip
2019-03-25 22:54:08 -04:00
Lex Berezhny
d5e37acd8f
minor Fee changes
2019-03-25 22:54:08 -04:00
Lex Berezhny
cd15230a92
getting close to a nice model
2019-03-25 22:54:08 -04:00
Victor Shyba
11086b93f1
migrate other fields
2019-03-25 22:54:08 -04:00
Victor Shyba
df5662136d
migrate cert + adapt to latest types repo
2019-03-25 22:54:08 -04:00
Victor Shyba
291d65070d
move common schema values to constants.py
2019-03-25 22:54:08 -04:00
Victor Shyba
9b64ee33dc
fix imports: schema.schema -> schema.legacy_schema_v1
2019-03-25 22:54:08 -04:00
Jack Robison
f2fefbe287
add lbrynet.dht.blob_announcer unit tests
2019-03-15 14:29:02 -04:00
Jack Robison
60a24f0e6e
add lbrynet.dht.protocol.data_store unit tests
2019-03-15 12:44:55 -04:00
Jack Robison
664f91bfab
add lbrynet.dht.protocol.distance unit tests
2019-03-15 12:44:41 -04:00
Jack Robison
44f92a271f
move dht tests to reflect the real directory structure
2019-03-15 12:01:21 -04:00
Jack Robison
6565ca8558
improve lbrynet.dht.serialization unit tests
2019-03-14 18:45:56 -04:00
Jack Robison
c9b2829227
fix/test fixed_peer_delay and added_fixed_peers
2019-03-14 15:08:26 -04:00
Jack Robison
2ab2b846b1
fix default download timeout not being set
2019-03-14 13:07:11 -04:00
Jack Robison
ab5d71ff61
fix the time to the head blob including the time to the sd blob in analytics
2019-03-13 16:24:23 -04:00
Jack Robison
5d212a0f82
time to first bytes analytics
2019-03-12 20:22:01 -04:00
Jack Robison
d0a1541d0a
fix test
2019-03-12 13:00:43 -04: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
Jack Robison
df8934d472
restore old download analytics and update tests
2019-03-01 14:50:06 -05:00
Jack Robison
ba518e2a0e
update test
2019-02-22 11:12:31 -05: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
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
60ba07cc17
add tests for incomplete files, update existing one
2019-02-14 00:10:44 -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
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
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
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
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
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
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
Lex Berezhny
2dbf96da81
blob downer test fixes
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
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
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
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
6339224980
tests for detached signatures
2019-01-17 23:24:58 -05:00
hackrush
6c8cbc1b9e
added additional fields to uri parser
2019-01-11 15:10:22 -05:00
Lex Berezhny
72c0acf269
test_HTTPBlobDownloader
2019-01-07 21:56:05 -05:00
Lex Berezhny
3fdcb80960
minor test fixes
2019-01-07 21:56:05 -05:00
Lex Berezhny
eb16cb0aa8
fix test_HashBlob
2019-01-07 21:56:05 -05:00
Lex Berezhny
b5340505e5
fix blobmanager tests and dont run conf tests
2019-01-07 21:56:05 -05:00
Lex Berezhny
4bb8129bb7
fixing tests to work with asyncio daemon
2019-01-07 21:56:05 -05:00
Jack Robison
fb66b68bc8
fix directory cli args, update help message
2018-12-14 15:51:11 -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
Oleg Silkin
458bddcb65
Removes Faker from Dependencies ( #1687 )
...
* Removes faker import and its usage
* Replaces data generated with faker with static data
* Drops faker as a dependency & removes extras require section
* Removes installation instruction for the test dependencies in setup.py
2018-12-11 20:19:58 -05:00
Jack Robison
a6128ac8a2
fix https://github.com/lbryio/lbry/compare/fix-1674
2018-12-04 17:35:40 -05:00
Jack Robison
434c7b57b1
tests
2018-11-26 11:36:28 -05:00
Oleg Silkin
f9ff3e5d14
Removes third-party mock dependency ( #1661 )
...
* Removes mock from setup.py dependencies
* Refactors name resetTime to reset_time
* Replaces import mock with built-in unittest.mock
* Refactors imports to separate built-in, external, and project modules
2018-11-25 11:12:30 -05:00
Oleg Silkin
b3fde9d78d
Removes six
From Project ( #1660 )
...
* Replaces `six` urllib with python 3's urllib
* Replaces `six`'s int2byte method with native `bytes` class
* Removes edge case testing for python2 vs python3
* Removes useless object inheritance
* Uses native io.BytesIO instead of six.BytesIO
* Removes six from dependencies
2018-11-22 23:24:21 -05:00
Lex Berezhny
b2d1bddcfe
update to latest torba
2018-11-19 20:34:38 -05:00
Jack Robison
d704336f20
absolute imports
2018-11-09 16:52:46 -05:00
Jack Robison
88095af1cd
move system_info.py into lbrynet.extras
2018-11-09 16:52:46 -05:00
Jack Robison
e9efd9f68a
improve get_external_ip
2018-11-09 16:52:46 -05:00
Jack Robison
bc5824b8bc
better setup of custom logger class
2018-11-09 16:52:46 -05:00
Jack Robison
a6b643bb34
move files
2018-11-09 16:52:42 -05:00
Jack Robison
488b976734
move HashAnnouncer.py to extras
2018-11-09 14:16:33 -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
264e6744e1
updated references after moving conf to lbrynet.extras.daemon.conf
2018-11-04 20:25:24 -05:00
Lex Berezhny
9255bb5abe
updated references after moving analytics to lbrynet.extras.daemon.analytics
2018-11-04 20:25:24 -05:00
Lex Berezhny
171c080d33
updated references lbrynet.file_manager -> lbrynet.blob
2018-11-04 20:25:24 -05:00
Lex Berezhny
c1a9cd93ee
updated references lbrynet.crypstream -> lbrynet.blob
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
b6d986cb40
updated references after moving lbrynet/database into lbrynet/extras/daemon
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
Victor Shyba
00bc7995c4
move lbryschema/tests/ into tests/unit/schema/
2018-11-04 10:50:15 -05:00