Kay Kurokawa
fe4ea9b33a
use assertFailure, move around assertEqual arguments to standard locations
2016-12-14 19:05:24 -06:00
Kay Kurokawa
c278972f26
adding unit tests for Wallet.py
2016-12-14 19:05:23 -06:00
Jack
948be0f040
clean up tests
2016-12-05 11:48:44 -05:00
Jack
b9bb337a07
add tests for daemon.get_est_cost
2016-12-05 11:48:44 -05:00
Jack Robison
13d74d1f76
Merge pull request #297 from lbryio/better-name-error
...
Provide better feedback on why a name is invalid
2016-12-02 12:08:58 -05:00
Job Evers-Meltzer
2bf098b5a3
add tests for settings change
2016-12-01 15:22:53 -05:00
Job Evers-Meltzer
f39a21cf7b
Provide better feedback on why a name is invalid
2016-12-01 11:02:37 -06:00
Job Evers‐Meltzer
f11f486f5a
Merge pull request #292 from lbryio/allow-rc
...
allow for rc in version values
2016-11-30 14:16:17 -06:00
Job Evers-Meltzer
6a8789050c
Allow 0.0.0.0 for api interface
...
For a host to be able to access the daemon running inside a docker
container the damon needs to be listening to 0.0.0.0
- move the API_INTERFACE setting to the adjustablesettings
- check the port matches as well as the interface
2016-11-28 19:19:05 -06:00
Job Evers-Meltzer
4b52c88d45
fix functional tests
2016-11-28 13:55:38 -06:00
Jack
bfcd84a568
use nOut in addition with txid to identify claims
2016-11-25 16:59:23 -05:00
Jack
543f65fc24
fail verify_name_characters for blank name
2016-11-21 21:58:04 -05:00
Job Evers-Meltzer
3d7dee1208
allow for rc in version values
2016-11-19 16:58:40 -06:00
Job Evers-Meltzer
f3a71245e8
Add missing files
...
Somehow these files got lost in a rebase. I'm sort of at a loss
for how, but well, adding them back in.
2016-11-09 11:35:03 -06:00
Job Evers-Meltzer
0036685ece
use more readable KB, MB
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
d06c670a12
Allow publishing with unicode filenames
...
encodes unicode into a string before hashing. Also adds tests
to verify that the fix works and that normal files
can be made into EncryptedFiles
2016-11-04 11:44:50 -05:00
Job Evers-Meltzer
862055a6de
move settings into conf file
2016-10-27 14:31:27 -05:00
Job Evers-Meltzer
0edacbe4c8
Merge remote-tracking branch 'origin/master' into refactor-settings
...
Conflicts:
lbrynet/conf.py
lbrynet/lbrynet_daemon/Daemon.py
lbrynet/lbrynet_daemon/DaemonCLI.py
lbrynet/lbrynet_daemon/UIManager.py
tests/functional/test_misc.py
2016-10-27 10:18:56 -05:00
Jack
1951ea09cd
updates from master, more refactoring
...
-lbrynet.lbrynet_daemon.auth.client.LBRYAPIClient.config will detect if
it needs to return the auth/non-auth version
2016-10-26 03:16:33 -04:00
Job Evers‐Meltzer
572f1d1f6e
Merge pull request #200 from lbryio/cleanup-tests
...
Start to cleanup functional tests to improve readability
2016-10-24 11:01:20 -05:00
Job Evers‐Meltzer
27a8114b6f
Merge pull request #197 from lbryio/add-dht-tests
...
Rename DHT tests such that trial automatically runs them
2016-10-24 11:00:40 -05:00
Job Evers-Meltzer
229ed0d7dc
rename summarize to summarize_and_reset
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
813267ae18
fix tests
2016-10-20 11:29:58 -07:00
Job Evers-Meltzer
3a91896d8a
track the amount of data uploaded
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
3f727d892c
refactor events; add tests
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
c104ed3f8b
better time handling in tests
2016-10-20 11:28:05 -07:00
Job Evers-Meltzer
bfcfa9dc3c
cleanup tests to improve readability
2016-10-20 09:30:08 -07:00
Jack
3f5efb1fa3
fix problems in blobrequester
...
-also move is_generous_host into a conf setting
2016-10-20 01:35:18 -04:00
Job Evers-Meltzer
a5d3c0bbe1
rename tests such that trial automatically runs them
2016-10-19 16:38:59 -05:00
Jack
06a88599df
--http-auth flag to use authentication, refactor settings
...
settings will prefer, in order:
-defaults
-settings in config file
-settings given as environmental variables
-settings given as command line args
2016-10-19 00:12:44 -04:00
Alex Liebowitz
b5a3929bb5
Fix imports
2016-10-14 16:41:02 -04:00
Alex Liebowitz
9cf1d6b710
Tests for new JSON Schema system
2016-10-14 10:37:18 -04:00
Jack
99c060719a
clean up test_strategy
2016-10-13 14:00:46 -04:00
Jack
d9cd215a60
set seed for strategy tests
2016-10-13 13:48:18 -04:00
Jack
2d3b1fd4eb
clean up test_misc
2016-10-13 13:36:22 -04:00
Jack
19c2264429
clean up
2016-10-13 13:35:55 -04:00
Jack
7025c5102a
skip live transfer
2016-10-05 23:17:45 -04:00
Jack
4f60a98eb2
fix functional tests, add a few unit tests,
...
-add ‘generous’ parameter for NegotiatedPaymentRateManager to turn free
hosting on/off, by default set to true.
2016-10-05 22:58:34 -04:00
Jack
180d981ed8
fix more functional tests
2016-10-03 16:37:27 -04:00
Jack
fd9bc6214a
fix functional tests
2016-10-03 15:40:27 -04:00
Jack
b3f3ed8026
start fixing functional tests
2016-10-03 02:59:40 -04:00
Jack
967700dc28
BlobRequestHandler and Strategy tests
2016-10-03 02:44:58 -04:00
Jack
d741c705cd
add some tests, don't use lighthouse for cost ests
2016-10-01 01:09:27 -04:00
Jack Robison
aefb6c5dc8
Merge pull request #175 from lbryio/skip-tests
...
Tests requiring epoll should only run on linux
2016-09-29 12:50:44 -04:00
Job Evers-Meltzer
12e2827286
tests requiring epoll should only run on linux
2016-09-27 16:01:47 -07:00
Job Evers-Meltzer
548d37929e
more fixes
2016-09-27 12:08:32 -07:00
Job Evers-Meltzer
1e4b5cb450
rename test files
2016-09-27 11:18:52 -07:00
Job Evers-Meltzer
a9da6e4bdf
run sed on tests too
2016-09-27 11:18:52 -07:00
Jack Robison
c75d240a65
Merge pull request #169 from lbryio/functional-tests
...
Enable functional tests
2016-09-21 22:05:16 -04:00
Jack
add163a092
move get_params to own function, add some tests
2016-09-15 22:20:00 -04:00