18 Commits

Author SHA1 Message Date
vrde
e0d0ab21d3
Add more blocks in inputs fixture 2016-07-14 15:03:16 +02:00
Ryan Henderson
073dcdaa79 Votes table (#379)
* create votes table and indexes

* initial db call rewrite

* setup votes table in tests

* rewrite election status

* update api tests

* update tests

* bigchaindb set-shards should change 'votes' table too

* Forgot to add change to bigchain.py in last commit

* update test

* move exceptions

* collapse line

* revise test

* remove obsolete test

* remove votelist from blocks

* sharding and replication

* documentation changes

* language change

* more readable assertions

* fix exception

* test exceptions

* remove parameter

* remove loop
2016-07-13 09:40:07 +02:00
Shaun Stanworth
6dd5cfe1f1 Add DB index on payload_uuid for tests 2016-07-01 11:49:35 +01:00
Sylvain Bellemare
7bd6d485bc Test Bigchain.get_blocks_status_containing_tx() (#399)
* Test Bigchain.get_blocks_status_containing_tx()

exception case

* Test Bigchaindb.has_previous_vote()

* Add missing blank lines (pep 8)

* Group imports

* Move ImproperVoteError into .exceptions.py

* Simplify logic

* Simplify formatting

* Imrpove the docstrings a bit

* Move GenesisBlockAlreadyExistsError

into .exceptions.py

* Remove unused import

* Add missing blank line

* Remove extra blank line

* Group imports from same module together

* Add test for Bigchain.transaction_exists()
2016-06-28 14:19:22 +02:00
ryan
814d8a1663 wait for indexes 2016-05-18 17:09:26 +02:00
ryan
929b1ab4dc force wait for index construction 2016-05-05 15:10:02 +02:00
ryan
9d7178e620 set up transactions index in test config 2016-05-05 11:15:49 +02:00
diminator
51addb9cc9
Merge remote-tracking branch 'remotes/origin/master' into feat/128/multiple-input-output
Conflicts:
	tests/test_util.py
2016-04-21 15:19:23 +02:00
troymc
53196c5b8c Renamed dict_config() to set_config() 2016-04-14 10:55:07 +02:00
diminator
ec08bca3d0
fulfillment preparations 2016-04-06 16:21:35 +02:00
vrde
aeede79846 Add asset create and transfer 2016-02-24 02:38:30 +01:00
vrde
56357e978d Add simple flask webserver and tests 2016-02-23 03:37:33 +01:00
vrde
6ab2b03260 Use unique db names in tests to allow xdist 2016-02-19 00:10:44 +01:00
Sylvain Bellemare
53aff999aa Make it harder for issue #27 to go unnoticed 2016-02-15 22:18:26 +01:00
Sylvain Bellemare
df242a35c6 Use pytest fixtures instead of imports 2016-02-15 16:30:37 +01:00
Sylvain Bellemare
5b8a31a341 Re-worked tests such that #27 is covered 2016-02-15 16:30:37 +01:00
vrde
fefb365d23 Fix exceptions 2016-02-12 21:07:02 +01:00
Wrigley the Buffalo
841cabe8c6 Add code, have fun! 2016-02-10 19:55:33 +01:00