kansi
8aba802425
Fix tests
2017-11-07 15:41:55 +05:30
kansi
199473178f
Fix rethinkdb tests
2017-10-24 18:03:57 +05:30
kansi
5954d6360a
Added cmd flag --init to start command
2017-10-24 16:59:10 +05:30
vrde
3995e22d4a
Fail if config file not found
2017-05-18 17:43:44 +02:00
Sylvain Bellemare
4d8f9dd777
Explicitly set default log config
...
Closes #1318
2017-04-18 16:21:02 +02:00
Sylvain Bellemare
b3290f12d2
Apply log level cmd line option to log file
2017-04-18 16:21:02 +02:00
Sylvain Bellemare
303e12ee28
Test command run_init when db already exists
2017-04-12 16:38:18 +02:00
Sylvain Bellemare
a7ed28e539
Test command helper _run_init
2017-04-12 16:12:41 +02:00
vrde
1e07a5b111
Add ssl, login, and passwd to configure command
2017-04-04 17:43:37 +02:00
Anuj
bb68a44b96
Renamed bigchain import to bigchaindb
2017-04-04 13:55:24 +05:30
Anuj
8aac5c7e64
Merge remote-tracking branch 'upstream/master' into bug/437/pretty-msg-drop-nonexistent-db
2017-04-04 13:49:56 +05:30
Lavina
e7b0b227f1
Rename bigchain.py command module to bigchaindb.py
2017-04-03 11:21:32 +02:00
Anuj
c3f89fd447
Taking DB name from config in test for non-existent db drop
2017-04-03 13:13:22 +05:30
Anuj
09866920af
Pretty message when dropping a non-existent database
2017-04-02 17:53:39 +05:30
Sylvain Bellemare
0ae9d19a54
Separate log configuration from logging process
...
Closes #1317
2017-03-22 16:35:24 +01:00
Sylvain Bellemare
f740ebc7ce
Use logging module constants for levels
2017-03-21 11:12:46 +01:00
Sylvain Bellemare
87758b8a64
Re-organize imports
2017-03-21 11:12:46 +01:00
Sylvain Bellemare
eff8e3adf3
Update logging related code and tests after rebase
2017-03-21 11:12:46 +01:00
Brett Sun
f549b00813
Add tests for setting log-level from CLI
2017-03-21 11:12:46 +01:00
Sylvain Bellemare
43f779a18b
Add logging infrastructure
2017-03-20 13:54:14 +01:00
Troy McConaghy
962a88b1d9
removed 'bigchaindb load' command & tests
2017-03-11 13:59:23 +01:00
Sylvain Bellemare
75d0a917d7
Remove stderr check
2017-03-07 12:29:54 +01:00
Brett Sun
ffe0eb60b9
Move tests related to commands/tests.py to separate test file
2017-03-07 12:29:54 +01:00
Brett Sun
54ea18dd2b
Use decorator to automatically configure before starting any command (that requires configuration)
2017-03-07 12:29:54 +01:00
Brett Sun
df9fd6dc23
Move arguments related only to start
command to be under start
2017-03-07 12:29:54 +01:00
Brett Sun
fce6b6af52
Standardize output streams for outputs of commands
2017-03-07 12:29:54 +01:00
Sylvain Bellemare
2e398f606f
Make some improvements to command line messages and error handling
2017-03-06 14:45:10 +01:00
Sylvain Bellemare
24eb18fb59
Add tests for errors on startup
2017-03-06 14:45:10 +01:00
Sylvain Bellemare
d1d994f0e7
Add fixture for run_start cmdline args
...
Note: has the possibility to be parametrized.
2017-03-06 14:45:10 +01:00
Sylvain Bellemare
1002668082
Fix broken tests
2017-03-06 14:45:10 +01:00
vrde
01da32d351
Merge branch 'master' into implement-connection-run-for-mongodb
2017-02-03 15:25:24 +01:00
Rodolphe Marques
2fe9c47b63
Feat/990/cleanup monitoring code ( #1138 )
...
* remove statsd dependencie
* remove monitoring related code
* removed statsd configuration
* fixed tests
* Removed monitoring docker compose file.
Remove statsd settings from test fixture.
Removed statsd related code from benchmarking tests
* removed monitoring related documentation
* remove unused import
2017-02-03 10:28:28 +01:00
vrde
702d74a584
Merge branch 'master' into implement-connection-run-for-mongodb
2017-02-02 19:37:14 +01:00
Rodolphe Marques
84626b6e32
Improved tests
...
Fixed typo
Add extra validation to hostnames to make sure host is not empty
2017-01-31 16:23:09 +01:00
Rodolphe Marques
9d03aeb72a
fixed tests
2017-01-26 15:02:48 +01:00
Rodolphe Marques
391da2cf60
Added tests
2017-01-25 12:36:08 +01:00
Rodolphe Marques
f12264773c
bigchaindb configure now requires a positional backend argument.
...
Created and fixed tests.
Updated `b` fixture
2017-01-23 16:49:59 +01:00
Sylvain Bellemare
4d6df06236
Resolves #948
2017-01-16 07:12:25 -05:00
Brett Sun
438958fdea
Rename builtin-in input override in commands ( #988 )
...
* Rename commands.bigchain.input to input_on_stderr to avoid confusion
* Allow input_on_stderr to not take a prompt
* Fix tests broken by renaming of commands.bigchaindb.input
2016-12-22 17:03:53 +01:00
Brett Sun
2882bee48e
Small flake8 fixes for tests ( #987 )
2016-12-22 11:57:13 +01:00
Sylvain Bellemare
fa79fe6783
Add session scope test setup for config and db
...
resolves #966
2016-12-20 20:37:28 +01:00
Brett Sun
b4063dd9ad
More test abstractions for multiple databases ( #950 )
...
* Remove unnecessary import of rethinkdb in a test
* Move test_run_query_util as a rethinkdb-specific test
* Move rethinkdb-specific command tests to own file
* Add __init__.py to new test folders
* Move command tests to their own test module
* Move fixtures out of command tests into separate conftest for commands
* Fix some small flake8 issues with rethinkdb's test_run_query_util
* Add pytest ignore hook to filter out test dirs that are not for the requested backend
* Move backend-specific tests in tests/db/ to tests/backend/
2016-12-16 22:17:13 +01:00