1008 Commits

Author SHA1 Message Date
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
Scott Sadler
e1312b88a3 Voting uses BigchainDBCritical 2017-02-24 10:04:24 +01:00
Scott Sadler
c44c9d0282 tests for vote schema and signature validation 2017-02-23 21:53:12 +01:00
Scott Sadler
e88c98a695 test_count_votes 2017-02-23 21:53:12 +01:00
Scott Sadler
1ff84bd670 test_partition_eligible_votes 2017-02-23 21:53:12 +01:00
Scott Sadler
89e76ffec2 fix tests, temporarily disabling some tests that need to be re-written 2017-02-23 21:53:12 +01:00
Scott Sadler
ff7e4d11d1 remove test from test_core.py which is just wrong 2017-02-23 21:53:12 +01:00
Scott Sadler
fdad8cd796 Static Classify Voting 2017-02-23 21:53:12 +01:00
Scott Sadler
20f6539e10 check count_votes invalid input 2017-02-23 21:53:12 +01:00
Scott Sadler
d71e560ba4 flesh out voting module 2017-02-23 21:53:12 +01:00
libscott
289080358d Merge pull request #1209 from bigchaindb/tymlez-consensus
Tymlez consensus plugin
2017-02-23 18:37:04 +01:00
vrde
c11808ecc5
Move common stuff to generic Connection class 2017-02-23 17:20:21 +01:00
Scott Sadler
b94eab715d introduce BigchainDBCritical exception 2017-02-22 14:37:34 +01:00
Scott Sadler
0f5844d4ae Merge remote-tracking branch 'origin/master' into tymlez-consensus 2017-02-22 14:07:36 +01:00
Scott Sadler
6e7534d3c2 cleanup; remove transaction_exists and has_transaction 2017-02-22 13:55:29 +01:00
Scott Sadler
fc2b684f32 use is_new_transaction in pipelines 2017-02-22 13:55:29 +01:00