7 Commits

Author SHA1 Message Date
vrde
e3a6d3d343
Add tests for connection.run 2017-02-02 19:58:00 +01:00
vrde
16571b539f
Normalize exceptions 2017-02-02 19:26:52 +01:00
vrde
157db3e01f
Fix exception in test 2017-01-31 16:59:43 +01:00
vrde
a8bbc87c1c
Major improvs for MongoDBConnection class 2017-01-31 01:29:12 +01:00
Rodolphe Marques
e7ffcf5705 Added replicaset name to bigchaindb config (#1063)
* Added replicaset name to bigchaindb config

* changed travis replSet to match bigchaindb default

* Updated initialize_replica_set

It now initializes the replica set with the name provided by the
bigchaindb config file.


* initialize_replica_set is now called when creating a mongodb connection.

This way we are sure that a replica set exists when we return a
connection.

* Moved the initialize replica set logic to the connection.

* update the config documentation
2017-01-20 14:05:28 +01:00
Rodolphe Marques
e52cb40edb Some more tests for mongodb code (#1036)
* Some more tests for mongodb code

Cleanup connection code

* pep8 fixes
2017-01-13 10:25:45 +01:00
Rodolphe Marques
39c25b951f added tests for mongodb connection 2016-12-20 14:25:24 +01:00