17 Commits

Author SHA1 Message Date
Rodolphe Marques
00dc44721f Merge remote-tracking branch 'origin/master' into init-timeout-rethinkdb-conn 2017-06-01 14:53:44 +02:00
Rodolphe Marques
cc2e83f07d Added unit test for rethinkdb connection timeout
- Cosmetic changes
2017-06-01 14:30:20 +02:00
Rodolphe Marques
8c0dbeb281 Added asset decoupling support for rethinkdb
Updated schema.
Created queries for assets table.
Fixed tests.
2017-05-10 17:55:43 +02:00
Sylvain Bellemare
7e0e46e820 Pass host and port to rethinkdb connection
This is needed when running the tests in containers for instance
2017-03-06 16:23:47 +01:00
vrde
f21811323f
Remove unused import 2017-02-27 11:51:06 +01:00
vrde
213139d4c6
Improve tests and connection class 2017-02-27 02:54:02 +01:00
vrde
702d74a584
Merge branch 'master' into implement-connection-run-for-mongodb 2017-02-02 19:37:14 +01:00
vrde
16571b539f
Normalize exceptions 2017-02-02 19:26:52 +01:00
Rodolphe Marques
6fd8c7a20b Feat/105/secondary indexes inputs outputs (#1125)
* Added inputs/outputs secondary indexes for rethinkdb

Added tests.

* Added inputs/outputs secondary indexes for mongodb

Fixed tests.

* fixed comment
2017-02-02 09:45:13 +01:00
vrde
5b084edaf4
Break out of the loop once a connection is established
closes #1068
2017-01-30 10:56:46 +01:00
Scott Sadler
bd048a3115 add flake8-quotes checker and cleanup double quotes 2017-01-23 17:30:37 +01:00
Sylvain Bellemare
4d6df06236 Resolves #948 2017-01-16 07:12:25 -05:00
Rodolphe Marques
7f05974f0f Added a secondary index with uniqueness constraint in backlog.
Several test fixes
2017-01-09 13:25:42 +01:00
Sylvain Bellemare
fa79fe6783 Add session scope test setup for config and db
resolves #966
2016-12-20 20:37:28 +01:00
Rodolphe Marques
47ca91355f Moved tests from rethinkdb test_run_query_util to test_connection 2016-12-20 14:32:53 +01:00
Rodolphe Marques
39c25b951f added tests for mongodb connection 2016-12-20 14:25:24 +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