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