Sylvain Bellemare
c5bad99f4e
Add test for get_spent for tx with two inputs
2017-03-16 17:04:50 +01:00
Sylvain Bellemare
72ba9761d4
Use parametrized host & port in test
...
to support docker-based tests or different test envs
2017-03-10 19:21:25 +01:00
vrde
c5b496b006
Merge branch 'master' into unify-mongodb-and-rethinkdb-connection
2017-03-03 13:52:56 +01:00
vrde
c11808ecc5
Move common stuff to generic Connection class
2017-02-23 17:20:21 +01:00
Scott Sadler
6e7534d3c2
cleanup; remove transaction_exists and has_transaction
2017-02-22 13:55:29 +01:00
Scott Sadler
fc04cd7bcd
update changefeed test for update
2017-02-15 17:31:36 +01:00
vrde
2962b4a27d
Skip test
2017-02-06 18:06:19 +01:00
vrde
5604e32d57
Try once if AutoReconnect is raised
2017-02-06 16:14:14 +01:00
vrde
01da32d351
Merge branch 'master' into implement-connection-run-for-mongodb
2017-02-03 15:25:24 +01:00
vrde
7f50d76d9e
Fix test on changefeed reconnection
2017-02-03 11:58:18 +01:00
libscott
47d6b8038b
Merge pull request #1131 from bigchaindb/fix-asset_id-index
...
Fix asset id index
2017-02-03 11:08:01 +01:00
Scott Sadler
d3e394e7ed
refactor get_txids_filtered query to be more efficient and add test to check that appropriate indexes are used
2017-02-03 10:44:06 +01:00
vrde
e3a6d3d343
Add tests for connection.run
2017-02-02 19:58:00 +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
90eb38e7f1
Merge pull request #1088 from bigchaindb/feat/1055/commands-add-remove-replicas
...
BigchainDB commands to add and remove nodes from the replica set
2017-02-02 14:00:49 +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
157db3e01f
Fix exception in test
2017-01-31 16:59:43 +01:00
Rodolphe Marques
c9af57943b
Merge remote-tracking branch 'origin/master' into feat/1055/commands-add-remove-replicas
2017-01-31 16:29:18 +01:00
Rodolphe Marques
f0e298bcd7
Added docstrings. Removed unnecessary returns.
...
Created fixture to simplify the tests.
Better comments.
2017-01-31 14:54:36 +01:00
vrde
a8bbc87c1c
Major improvs for MongoDBConnection class
2017-01-31 01:29:12 +01:00
Rodolphe Marques
391da2cf60
Added tests
2017-01-25 12:36:08 +01:00
libscott
ad2abcf723
Merge pull request #1065 from bigchaindb/1021/http_transactions_list
...
1021/http transactions list
2017-01-23 16:06:07 +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
Scott Sadler
dbb3414fd0
generalise get_txids_by_asset_id into get_txids_filtered and remove get_transactions_by_asset_id
2017-01-18 15:42:47 +01:00
Brett Sun
0751b2bf0b
Merge pull request #1029 from bigchaindb/feat/api/votes
...
Implement votes endpoint
2017-01-17 14:42:02 +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
5abe6dd7ea
Added tests to the mongodb changefeed ( #1035 )
...
* Added tests to the mongodb changefeed
* pep8 and typo fixes
2017-01-13 10:18:58 +01:00
Rodolphe Marques
fa8608b242
small fix write_vote
2017-01-12 10:41:55 +01:00
Sylvain Bellemare
1cfd3de60e
Fix flake8 errors in tests
2017-01-11 05:13:27 -05:00
Rodolphe Marques
c91eff70e5
Feat/960/test mongodb queries ( #1030 )
...
* Created tests to mongodb queries
Small fix to queries
* cleanup pytest markers
2017-01-10 16:49:30 +01:00
Rodolphe Marques
aa6d4fdcc8
small fix to test
2017-01-10 15:31:16 +01:00
Rodolphe Marques
7f05974f0f
Added a secondary index with uniqueness constraint in backlog.
...
Several test fixes
2017-01-09 13:25:42 +01:00
Rodolphe Marques
9c0d696b7e
Better unittests
...
Simplify code
2016-12-21 16:52:57 +01:00
Rodolphe Marques
5fedabe586
fix test
2016-12-21 15:55:29 +01:00
Rodolphe Marques
1dd6c748b9
Merge remote-tracking branch 'origin/master' into feat/980/initialise-replica-set-mongo
2016-12-21 15:54:02 +01:00
Rodolphe Marques
4a14c7c8f1
Initialize replica set for mongodb when running bigchaindb init
2016-12-21 15:53:25 +01:00
Sylvain Bellemare
a269375278
Use pytest custom marker "bdb"
...
note that the marker, although invoked for the entire module, will be
applied for each function
2016-12-20 20:37:28 +01:00
Rodolphe Marques
39c25b951f
added tests for mongodb connection
2016-12-20 14:25:24 +01:00
Rodolphe Marques
050990aac1
Created tests for mongodb schema
...
Removed some unused secondary indexes
2016-12-19 15:45:02 +01:00