773 Commits

Author SHA1 Message Date
Scott Sadler
8077956b95 test serialization hash function 2017-03-13 13:47:37 +01:00
Scott Sadler
31b3ad8f96 fix bad quotes in test_outputs 2017-03-13 13:47:37 +01:00
Scott Sadler
cb6bd34744 test create tx does not have an asset id 2017-03-13 13:47:37 +01:00
Scott Sadler
45f0840885 Merge remote-tracking branch 'origin/master' into voting-class-integration 2017-03-13 13:37:36 +01:00
Scott Sadler
dc58466de3 Merge branch 'master' into voting-class-integration 2017-03-13 13:35:03 +01:00
Troy McConaghy
962a88b1d9 removed 'bigchaindb load' command & tests 2017-03-11 13:59:23 +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
Scott Sadler
e011f50bc7 remove stray test 2017-03-08 17:33:35 +01:00
Scott Sadler
53dff83ed4 Merge remote-tracking branch 'origin/master' into validationerror-refactor 2017-03-08 13:07:51 +01:00
Scott Sadler
a3fccbc599 change TransactionDoesNotExist to InputDoesNotExist in tests 2017-03-08 13:01:52 +01:00
Scott Sadler
d10772e4bf Merge remote-tracking branch 'origin/master' into voting-class-integration 2017-03-08 12:56:58 +01:00
libscott
a110d54dad Merge pull request #1237 from bigchaindb/tx-appears-once-in-block
Avoid dupe txs in block
2017-03-08 12:55:33 +01:00
Scott Sadler
ffccf86c91 Merge remote-tracking branch 'origin/master' into voting-class-integration 2017-03-08 12:54:33 +01:00
libscott
9ec9f638fc Merge pull request #1213 from bigchaindb/identify-voters
Identify voters + Voting class
2017-03-07 14:06:22 +01:00
Scott Sadler
e5dd5c665b address vrde's comments, reshuffle some exceptions around 2017-03-07 13:15:31 +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
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
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
Scott Sadler
352627b83a add test that asset id is a string 2017-03-06 12:12:04 +01:00
Sylvain Bellemare
56243a57ab Fix indent 2017-03-03 18:02:57 +01:00
diminator
81dee294ea unitest for bug 2017-03-03 18:02:57 +01:00
vrde
c5b496b006
Merge branch 'master' into unify-mongodb-and-rethinkdb-connection 2017-03-03 13:52:56 +01:00
Scott Sadler
3346fcb47b break BigchainDBCritical into CriticalDoubleSpend and CriticalDoubleInclusion and add test 2017-03-03 13:48:52 +01:00
Scott Sadler
bbe9d4fc88 add some clarifications to test_voting.py 2017-03-03 13:24:30 +01:00
Scott Sadler
59e21bfa4d fix test, log tx validation errors and document ValidationError 2017-03-03 11:52:12 +01:00
Scott Sadler
5584de59b0 Make ValidationError a superclass of all validation errors and use it 2017-03-03 11:36:50 +01:00
Scott Sadler
a71dc66e97 extra test for tx_collector and docs fix 2017-03-02 18:48:03 +01:00
Scott Sadler
1d935b9ae6 dedupe tx in block, reject duplicate tx in block 2017-03-02 14:35:20 +01:00
Scott Sadler
bae05e80a0 sign whole transaction body instead of partial transaction 2017-02-28 11:27:55 +01:00
Scott Sadler
c993f954e0 wip 2017-02-27 20:56:01 +01:00
Scott Sadler
ebeb94f35a cleanup has_previous_vote 2017-02-27 16:25:29 +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
Scott Sadler
6a10127268 Merge branch 'identify-voters' into voting-class-integration 2017-02-25 10:28:38 +01:00
Scott Sadler
f858fc8f8d fix voting bug with prev_block 2017-02-25 10:21:40 +01:00
Scott Sadler
ae8367c6c7 log election results in election pipeline 2017-02-24 13:27:48 +01:00
Scott Sadler
8ecd89c18c Merge branch 'identify-voters' into voting-class-integration 2017-02-24 10:44:53 +01:00
Scott Sadler
f860753192 test for block_election 2017-02-24 10:43:30 +01:00
libscott
4a5a5566e7 Merge pull request #1208 from bigchaindb/is_new_transaction
Bigchaindb.is_new_transaction, fix double inclusion in Vote pipeline
2017-02-24 10:17:06 +01:00
Scott Sadler
6295749997 pull in tests and fixes from integration branch 2017-02-24 10:12:26 +01:00
Scott Sadler
d73134e6c3 Static Classify Voting 2017-02-24 10:10:23 +01:00
Scott Sadler
f8a7123f0a check count_votes invalid input 2017-02-24 10:10:23 +01:00
Scott Sadler
4f997f60c0 flesh out voting module 2017-02-24 10:10:23 +01:00