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
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
Lex Berezhny
c186c31bf7
simplified component setup
2019-01-07 21:56:05 -05:00
Lex Berezhny
248baf58b4
asyncio daemon
2019-01-07 21:56:05 -05:00
Lex Berezhny
e65e1fb5a2
added utxo_release command
2019-01-04 03:14:37 -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
Victor Shyba
5fad43ff69
fix test tear down and unify test_commands
2018-12-11 16:34:37 -05:00
Victor Shyba
d1b0180437
add tests for claim_list_by_channel
2018-12-11 16:34:37 -05:00
Victor Shyba
7713881e71
additional tests for resolution border cases
2018-12-08 14:40:37 -05:00
Lex Berezhny
72090b45dd
confirmations is returned as int
2018-12-06 00:49:07 -05:00
Lex Berezhny
16ff4b4e2c
confirmations fix
2018-12-06 00:49:07 -05:00
Lex Berezhny
98d83ea74f
fix for integration test
2018-12-05 12:14:43 -05:00
Jack Robison
a6128ac8a2
fix https://github.com/lbryio/lbry/compare/fix-1674
2018-12-04 17:35:40 -05:00
Victor Shyba
f7c7cb9535
fix transaction_show
2018-12-04 12:12:08 -05:00
Lex Berezhny
4af830c405
tests for transaction_list going through claim creation -> claim update -> claim abandon
2018-11-28 18:03:33 -05:00
Lex Berezhny
fe844581fd
correctly split value/fee in transaction_list
2018-11-28 18:03:33 -05:00
Victor Shyba
ea6869a63e
allow invalid sigs claims to show outside a channel
2018-11-27 15:36:53 -03:00
Jack Robison
434c7b57b1
tests
2018-11-26 11:36:28 -05:00
Victor Shyba
bc28976e12
adds test for claims on abandoned channels
2018-11-26 11:32:41 -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
Lex Berezhny
dd1d1be994
working claim_send_to_address
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
7e27a6e37d
fix
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
3d8b9e2b66
block=False for abandon during erics epic adventure tests
2018-11-07 18:28:02 -05:00
Lex Berezhny
64898d43f1
tearDown() should run before daemon shutdown
2018-11-07 18:28:02 -05:00
Lex Berezhny
b2117fddab
on_transaction -> ledger.wait
2018-11-07 18:28:02 -05:00
Lex Berezhny
934682bd0f
--blocking support in abandon command
2018-11-07 18:28:02 -05:00
Lex Berezhny
83c0baa3cb
test abandoning claim at a loss, required a fix in torba
2018-11-07 10:57:11 -05:00
Lex Berezhny
340c5addab
insufficientfundserror test
2018-11-07 10:57:11 -05:00
Lex Berezhny
0ae5f1a4c6
added fix for #1533
2018-11-07 10:57:11 -05:00
Lex Berezhny
90e06abba2
fixes for #1569
2018-11-07 10:57:11 -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
8b265801df
updated references lbrynet.lbry_file.client -> lbrynet.file_manager.client
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
f1f0917063
updated all references to point to new reflector location
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
Lex Berezhny
699c057f2d
upgrading to new torba
2018-11-04 02:28:36 -05:00
GwanYeong Kim
2f47a3758e
Remove unused Python modules in tests/unit/test_cli.py
2018-10-30 10:32:34 -04:00
Jack Robison
416472c5d8
log stream update failure
2018-10-26 13:01:46 -04: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
Jack Robison
0ed56bbe1a
tests
2018-10-18 18:12:50 -04:00
Hugo
3f704be85c
Fix spelling
2018-10-18 14:40:37 +03:00
Lex Berezhny
2ddf1a08f6
publish command supports custom account list to lookup channels
2018-10-17 19:37:54 -04:00
Victor Shyba
4748cbf654
fix tests for cost estimate
2018-10-17 14:16:00 -04:00
Lex Berezhny
8b3a457925
improve integration test reliability
2018-10-16 21:28:47 -04:00
Lex Berezhny
5eac4247e1
working integration tests
2018-10-16 17:09:21 -04:00
Lex Berezhny
21702ec43c
asyncio progress for victor
2018-10-16 17:09:21 -04:00
Lex Berezhny
d2083bc17e
for victor
2018-10-16 17:09:21 -04:00
Lex Berezhny
64e306801d
updated wallet to use asyncio
2018-10-16 17:09:21 -04:00
Lex Berezhny
64913c4288
JSON RPC output for TXOs now includes: height, confirmations and valid_signature
2018-10-12 10:41:49 -04:00
Tomasz Kopeć
9e2e53147e
--conf option improvements ( #1455 )
...
* Conf file improvements
* Add test for loading config file
2018-10-10 13:44:51 -04:00
Lex Berezhny
b2c95f35c7
fixed test_transaction reliability
2018-10-09 21:32:32 -04:00
Lex Berezhny
bc8251696e
fix cli version test
2018-10-09 11:37:49 -04:00
Lex Berezhny
3664c25d98
changed lbry account.get_balance() to have same confirmations default as baseaccount.get_balance()
2018-10-08 15:02:52 -04:00
Lex Berezhny
7f7961f4cc
updated integration tests after reducing required confirmations to 0
2018-10-08 15:02:52 -04:00
Lex Berezhny
9d9916548b
added channel/signature annotation to all TXOs, support for pagination
2018-10-08 15:02:52 -04:00
Victor Shyba
ea6b2b98fb
refactor ping queue
2018-10-03 19:21:48 -03:00
Lex Berezhny
2f95c3a9d1
wallet integration test fixes
2018-10-03 18:06:22 -04:00
Lex Berezhny
6039159ecc
use d2l/l2d in integration tests
2018-10-03 18:06:22 -04:00
Lex Berezhny
22df26eeb6
dewies_to_lbc and lbc_to_dewies
2018-10-03 18:06:22 -04:00
Lex Berezhny
7b9ff3e8b5
updated with torba refactoring and working claim_send_to_address
2018-10-03 12:32:01 -04: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
Victor Shyba
e1130147b5
fix format of resolve on inexistent URI
2018-09-27 15:30:53 -04:00
Jack Robison
2dd0221711
[API] support ssl, add use_https
setting
2018-09-26 09:56:26 -04:00
Lex Berezhny
ca9ca09a00
wallet unit test fixes
2018-09-26 07:24:25 -04:00
Victor Shyba
1c2849235c
send startup event right after setup
2018-09-25 17:49:23 -04:00
Jack Robison
f310bb6825
[API] fix account_unlock, account_decrypt, and account_encrypt commands
2018-09-25 13:10:55 -04:00
Lex Berezhny
1fb7ffd759
fix integration test to pass amount as decimal string
2018-09-24 01:25:23 -04:00
Mark Beamer Jr
3fcca4bc47
adjusted test to pass string instead of number
2018-09-24 01:25:23 -04:00
Mark Beamer Jr
12c73cf50c
adjusted e2e test to use 1.0 instead of 1 per eukreign which came from lyoshenko.
2018-09-24 01:25:23 -04:00
Mark Beamer Jr
559afa465a
Implemented removal of float usage. Floats converted to int internally.
2018-09-24 01:25:23 -04:00
Lex Berezhny
bcf7218b66
fix integration test
2018-09-21 23:24:50 -04:00
hackrush
ad492a09f7
Added integration tests and other review fixes
2018-09-20 19:45:06 -04:00
hackrush
e47ef741f7
Review Fixes
2018-09-09 22:00:37 -04:00
hackrush
2878716381
Tests for support and tip
2018-09-09 22:00:37 -04:00
hackrush
d99ce5f3d6
Integration test for wallet_send ( #1395 )
2018-09-03 11:41:30 -04:00
Lex Berezhny
e7634b74c8
improved test for setting account attributes
2018-09-03 09:09:28 -04:00
Lex Berezhny
26af01a5cc
test account list for specific account
2018-09-03 09:09:28 -04:00
Lex Berezhny
1d40ec34a2
account_balance returns Decimal intead of rounded float
2018-09-03 09:09:28 -04:00
Lex Berezhny
be2ef747dc
deleted commented out code
2018-09-03 09:09:28 -04:00
Lex Berezhny
8399f2ab33
account management
2018-09-03 09:09:28 -04:00
Lex Berezhny
8696cd3c27
fix for chris45 integration test
2018-09-03 09:09:28 -04:00
Lex Berezhny
0abbc20899
fix for cli test
2018-09-03 09:09:28 -04:00
Lex Berezhny
1675cc4580
renamed a bunch of wallet commands and split up the big account command
2018-09-03 09:09:28 -04: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
hackrush
707ab831fd
Fake Analytics for test_cli
2018-08-24 11:42:35 -04:00
Lex Berezhny
4a8776be10
wallet integration tests fixed
2018-08-24 11:42:35 -04:00
hackrush
daae0b2836
sq return not yield, run on clear field
2018-08-24 11:42:35 -04:00
Lex Berezhny
5afd446bb3
fixing wallet unit tests test_ledger.py and test_transactions.py
2018-08-24 11:42:35 -04:00
hackrush
2b5e3204c0
Refactor client, cli and test_cli, fix delayedCalls not expiring
2018-08-24 11:42:35 -04:00
Lex Berezhny
84c91c480f
fix for unit/wallet/test_accounts.py
2018-08-24 11:42:35 -04:00
Lex Berezhny
d1f00255c1
test fixes related to headers
2018-08-24 11:42:35 -04:00
hackrush
d6c04d3586
sq Fix tests
2018-08-24 11:42:08 -04:00
hackrush
8c6c442fdd
Fixed regression in unauthenticated API client w/ integration tests
2018-08-24 11:42:08 -04:00
Lex Berezhny
49c659b832
assert integration test is actually using authentication
2018-08-24 11:42:08 -04:00
hackrush
6a8963d807
Added Authenticated API Client Integration Test
2018-08-24 11:42:08 -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
a204f0d3e6
- replaced old lbryum function with struct.pack, per @BrannonKing review
...
- make copy of keys so we can modify the dictionary
2018-08-24 11:40:43 -04:00
Lex Berezhny
3594c8976d
improved output when migrating certificates
2018-08-24 11:40:43 -04:00
Lex Berezhny
23ede44bff
fix blob downloader test on py3
...
not tying lbrynet db to wallet db just yet
2018-08-24 11:40:43 -04:00
Lex Berezhny
0006a68bf2
fix import in blob downloder tests
2018-08-24 11:40:43 -04:00
Lex Berezhny
0349e68201
moved unit tests into unit test directory
2018-08-24 11:40:43 -04:00
Lex Berezhny
d0d5d0340d
unit tests fixed
2018-08-24 11:40:43 -04:00
Lex Berezhny
6a5d88a0d5
new fund command and automatic account creation
2018-08-24 11:40:43 -04:00
Lex Berezhny
8dc4e3be43
integration tests working again and daemon starts normally
2018-08-24 11:40:43 -04:00
Lex Berezhny
0badea874d
test_Downloder tests fixed
2018-08-24 11:40:43 -04:00
Lex Berezhny
0dd6193eaa
FakeComponent was missing __lt__ comparison operator and couldnt be put in set()
2018-08-24 11:40:43 -04:00
hackrush
a7ef8889dd
Unified CLI, python 3(WIP) ( #1330 )
...
* Added new custom cli class using aiohttp
* Proper error handling in CLI based on RPC error codes(PoC)
* Auth API working
* UnitTests
2018-08-24 11:40:43 -04:00
Lex Berezhny
f41229cb5b
tx.get_claim_id() -> txo.claim_id, claim update works now
...
channel_list encodes claim name and also added claim_id
fixed BlobManager foreign key error handling
2018-08-24 11:40:43 -04:00
Lex Berezhny
8ab4e3ca49
+ channel_list command works again but test_commands.py integration test is failing
2018-08-24 11:40:43 -04:00
Victor Shyba
ff8d37443e
more checks on test_transactions
2018-08-24 11:40:43 -04:00
Lex Berezhny
fcd46629c4
refactored how transactions are created, fixed list addresses command
2018-08-24 11:40:43 -04:00
Victor Shyba
9ad9eb083b
fix integration test NBO encoding
2018-08-24 11:40:43 -04:00
Lex Berezhny
4669507880
Transaction.abandon() now requires list of outputs
2018-08-24 11:40:43 -04:00
Lex Berezhny
47bb634035
abandon claims and chris45 epic adventure
2018-08-24 11:40:43 -04:00
Lex Berezhny
10b34d6b33
unnecessary list() added during py3 port
...
instead of recursive bytes2unicode use a proper JSONEncoder to conver bytes->unicode for json.dumps()
removing excessive isinstance(data, bytes) checks
py3: / -> // and list() around .items() that gets modified in loop
moved lbrynet.undecorated to where its actually used and hopefully we can delete it eventually
removed build/upload_assets.py, travis can do all this now
2018-08-24 11:40:43 -04:00
Lex Berezhny
f061ca2b15
integration tests no longer mock Blob, BlobManager and Session
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
Lex Berezhny
2d4bf73632
working on unit tests
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
Lex Berezhny
af2aeaa66b
fixing unit tests
2018-08-24 11:37:53 -04:00
Lex Berezhny
855fd8bf9a
moved test_customLogger.py
2018-08-24 11:37:53 -04:00
Lex Berezhny
5597d45aed
got integration tests to work again with rebased branch
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
Victor Shyba
99be38604a
attempt to fix tests isolation
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
ba80c0e594
py2(iteritems, itervalues) -> py3(items, values)
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
Lex Berezhny
971252d5d1
undo simplejson commit
2018-08-24 11:37:53 -04:00
hackrush
c01716a6c0
Using simplejson and fixed some encodes and decodes
2018-08-24 11:37:53 -04:00
Lex Berezhny
318c369752
made tests into a package again and moved mocks.py back to root tests dir
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
Victor Shyba
19211d4417
make sure bencoding works for bytes, not strings
2018-08-24 11:37:53 -04:00
Victor Shyba
c312d1b3a6
all unit/dht green on py3
2018-08-24 11:37:53 -04:00