Lev Berman 699494613f Problem: The commit mode behaves incorrectly. (#2510)
* Problem: The commit mode behaves incorrectly.

Solution: Parse the Tendermint response properly. The functionality was disabled in https://github.com/bigchaindb/bigchaindb/pull/2235/files#diff-c6511560546a7dc577e7e647b5bfdaceL68 and was not fixed since then.

* Add a test case for the sync mode.

* Do not strictly expect deliver_tx in the response.

* Fix post_mock in web/test_transactions.py.

* Check for the error field first.
2018-09-06 15:49:00 +02:00
..
2016-02-10 19:55:33 +01:00

BigchainDB Server Unit Tests

Most of the tests in the tests/ folder are unit tests. For info about how to write and run tests, see the docs about contributing to BigchainDB, especially:

Note: There are acceptance tests in the acceptance/ folder (at the same level in the hierarchy as the tests/ folder).