Commit graph

89 commits

Author SHA1 Message Date
Jack Robison fc450eb164
add TestMimeTypes, pylint 2019-02-15 20:42:55 -05:00
Jack Robison c9d54bb049
fix max_key_fee 2019-02-11 15:26:13 -05:00
Jack Robison 58f6cb71c6
test stream manager 2019-02-06 13:08:57 -05:00
Jack Robison 4a11cf007f
remove unused settings and constants 2019-01-27 19:51:44 -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 2dcd187d69 fixed component manager tests 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 59f5381b0a update tests 2019-01-24 00:13:15 -05:00
Jack Robison bb6112276f delete old tests 2019-01-24 00:13:15 -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
Jack Robison 3a86fc6680
refactor exchange rate manager to use asyncio 2019-01-22 11:34:49 -05:00
Lex Berezhny 4bb8129bb7 fixing tests to work with asyncio daemon 2019-01-07 21:56:05 -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 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
Jack Robison a6b643bb34
move files 2018-11-09 16:52:42 -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 171c080d33 updated references lbrynet.file_manager -> 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
Lex Berezhny 699c057f2d upgrading to new torba 2018-11-04 02:28:36 -05: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 4748cbf654 fix tests for cost estimate 2018-10-17 14:16:00 -04:00
Lex Berezhny 22df26eeb6 dewies_to_lbc and lbc_to_dewies 2018-10-03 18:06:22 -04:00
Jack Robison 2dd0221711
[API] support ssl, add use_https setting 2018-09-26 09:56:26 -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 1675cc4580 renamed a bunch of wallet commands and split up the big account command 2018-09-03 09:09:28 -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 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
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 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 9636ca22e7
fixing unit tests 2018-08-24 11:37:53 -04:00
Victor Shyba 036663ae62
adds get_claims_by_ids and fix a test name 2018-08-24 11:37:53 -04:00
Lex Berezhny 03d2d0e237
fixed import paths as a result of moving the tests 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
Jack Robison 3f42716706
update tests 2017-09-07 14:01:06 -04:00
Jack Robison 5f9509db96
don't use google finance 2017-09-07 13:55:36 -04:00
Kay Kurokawa b2f0dedefb fix error when resolving true/false/floats and also prevent other keys from being parsed as boolean, int, or float in CLI 2017-08-14 18:33:41 +02:00
Zestyr 0c2d049c90 Fix error when resolving an integer
Fixes #588
2017-08-14 12:15:08 -04:00