Commit graph

260 commits

Author SHA1 Message Date
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
Victor Shyba e4ea1ccbfb
test_node green on py3 2018-08-24 11:37:53 -04:00
Victor Shyba 5b35c4e8f0
port dht.distance ~> py3 2018-08-24 11:37:53 -04:00
Victor Shyba 07a12b66e8
port dht.contacts ~> py3 2018-08-24 11:37:53 -04:00
Lex Berezhny a28c9d09c8
- fix and improvements related to the two balance command account_balance and wallet_balance
- working CommonWorkflowTests integration test
- pylint, unit and integration test fixes
- switch integration tests to use async/await
2018-08-24 11:37:53 -04:00
Lex Berezhny f589410496
tests 2018-08-24 11:37:53 -04:00
Lex Berezhny aecc7c6643
resolve works in py3!!!!!11111oneoneone 2018-08-24 11:37:53 -04:00
Lex Berezhny 9636ca22e7
fixing unit tests 2018-08-24 11:37:53 -04:00
Lex Berezhny 0f90dee224
faililng test 2018-08-24 11:37:53 -04:00
Lex Berezhny 076af7ef43
py3 compatibility updates 2018-08-24 11:37:53 -04:00
Lex Berezhny 43bef9447c
progress on publish command: py3 porting and integration tests 2018-08-24 11:37:53 -04:00
Victor Shyba 39d7f2e46e
port cryptblob test to py3 2018-08-24 11:37:53 -04:00
Lex Berezhny 315661208d
integration test publishes actual file instead of just sources 2018-08-24 11:37:53 -04:00
Lex Berezhny c544e26206
publish integration test works 2018-08-24 11:37:53 -04:00
Lex Berezhny 62e77c69f5
jsonrpc_publish takes amount in lbc, not satoshi 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
Victor Shyba b62321689d
test proofs 2018-08-24 11:37:53 -04:00
Lex Berezhny 70a7ca95fe
wip 2018-08-24 11:37:53 -04:00
Lex Berezhny f85e61d8ed
run functional tests first
run two integration tests on travis 😱
reduce integration test verbosity
2018-08-24 11:37:53 -04:00
Lex Berezhny d81502e191
unit test fixes, balance/utxos filters out claims, abandoning claims 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 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
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
Jack Robison 8419e1e1d5
change some ValueErrors to IOErrors 2017-09-20 13:59:26 -04:00
Jack Robison 14636a5d38
split up HashBlob.py into lbrynet.blob 2017-09-20 13:59:24 -04:00
Jack Robison 7d6e62eb77
consolidate HashBlob and BlobFile 2017-09-20 13:59:24 -04:00
Kay Kurokawa f816cc1637
add some unit tests for BlobFile.close() 2017-09-20 13:59:23 -04:00
Kay Kurokawa e92321a9c1
have BlobFile.open_for_writing() return the writer instead of write and close functions 2017-09-20 13:59:23 -04:00
Kay Kurokawa 637d1f265b
add unit tests for HashBlob.py classes 2017-09-20 13:59:21 -04:00