1008 Commits

Author SHA1 Message Date
Sylvain Bellemare
43f779a18b Add logging infrastructure 2017-03-20 13:54:14 +01:00
Scott Sadler
03ca4b1fd3 make stepping pipeline queue items mutable 2017-03-17 15:34:17 +01:00
Thomas Conte
550b9cb804 Fix unit test 2017-03-17 13:07:15 +01:00
Rodolphe Marques
e97cee8c84 Merge pull request #1294 from bigchaindb/bug/1291/threshold-conditions-duplicated-pks
_sign_threshold now signs all subconditions for a public key
2017-03-17 10:32:21 +01:00
Thomas Conte
8526246f78 Fix unit test 2017-03-17 10:01:58 +01:00
Sylvain Bellemare
c5bad99f4e Add test for get_spent for tx with two inputs 2017-03-16 17:04:50 +01:00
Sylvain Bellemare
c12f08a92c Add test to reproduce false double spend
see issue #1271
2017-03-16 17:04:50 +01:00
Sylvain Bellemare
102406dd35 Add fixtures for alice, bob, and carol 2017-03-16 17:04:50 +01:00
Rodolphe Marques
4aa6ed1067 fixed pep8 error 2017-03-16 14:18:57 +01:00
Rodolphe Marques
f00f68e03f _sign_threshold now signs all subconditions for a public key.
Created test.
2017-03-16 14:10:04 +01:00
Scott Sadler
bbf5c49f9a test that transfer tx cannot have no inputs 2017-03-15 17:19:46 +01:00
Scott Sadler
860e7cda02 test that transaction with no hash raises schema validation error 2017-03-15 14:32:54 +01:00
Scott Sadler
25650597b1 test invalid string amount case 2017-03-15 11:27:35 +01:00
Scott Sadler
a869f6d1dd fix wrong exception after schema change 2017-03-15 11:08:19 +01:00
Scott Sadler
48a766400d try to bump codecov into correct calculation 2017-03-15 11:03:00 +01:00
Scott Sadler
69bafc80c0 put limits on amount size 2017-03-15 10:17:41 +01:00
Scott Sadler
f23bfa52d1 Output.from_dict accepts string 2017-03-15 10:00:00 +01:00
Scott Sadler
1e2080bf47 Merge remote-tracking branch 'origin/master' into tx-validation-cleanup 2017-03-14 18:45:36 +01:00
Scott Sadler
c3d9717b07 fix breakage from other branch 2017-03-14 18:42:05 +01:00
Scott Sadler
28e06399ae fix breakage from other branch 2017-03-14 18:40:04 +01:00
Scott Sadler
47c6a722ad move tests to validate transaction ID 2017-03-14 18:35:53 +01:00
Scott Sadler
4b060e6488 move tests related to assets 2017-03-14 18:07:25 +01:00
Troy McConaghy
270fed04c7 Merge pull request #1273 from bigchaindb/rm-bigchaindb-load-command
Remove 'bigchaindb load' command, tests & docs
2017-03-14 17:35:15 +01:00
Scott Sadler
48a3ba96ae move tx tests from test_models.py 2017-03-14 17:12:10 +01:00
Scott Sadler
66830fc1d9 move version validation to transaction structure test module 2017-03-14 17:12:10 +01:00
Scott Sadler
8a5814bb08 clarify schema testing module 2017-03-14 17:12:10 +01:00
Scott Sadler
ae8153bd10 new home of structural validation in tests 2017-03-14 17:12:10 +01:00
Scott Sadler
1f5a8582b6 Merge branch 'master' into tx-structure 2017-03-14 16:22:14 +01:00
Scott Sadler
7c461e47d7 remove structural and schematic validations from Transaction.validate which is validating the spend 2017-03-14 12:39:57 +01:00
Scott Sadler
58a1a25d43 test for invalid vote in election pipeline 2017-03-13 16:26:41 +01:00
Scott Sadler
b997057962 fix tests 2017-03-13 14:25:36 +01:00
Scott Sadler
4050389df7 move test_create_tx_no_asset_id 2017-03-13 14:01:29 +01:00
Scott Sadler
e8ee2ec0a6 fix tests 2017-03-13 13:47:37 +01:00
Scott Sadler
dbf24a6065 schema validates that create txes only have 1 input and that it has no fulfills 2017-03-13 13:47:37 +01:00
Scott Sadler
5b2d22efd4 test asset schema 2017-03-13 13:47:37 +01:00
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