1008 Commits

Author SHA1 Message Date
Rodolphe Marques
47ca91355f Moved tests from rethinkdb test_run_query_util to test_connection 2016-12-20 14:32:53 +01:00
Rodolphe Marques
39c25b951f added tests for mongodb connection 2016-12-20 14:25:24 +01:00
Troy McConaghy
8fa6789745 Merge pull request #965 from bigchaindb/move-all-runtests-docs-to-one-place
Consolidated all tests-related docs in one place
2016-12-20 14:02:52 +01:00
Rodolphe Marques
61cfe1b370 Merge pull request #971 from bigchaindb/feat/959/test-mongodb-schema
Created tests for mongodb schema
2016-12-20 13:56:32 +01:00
Brett Sun
ad6f267055 Add instructions for rebuilding docker images after upgrading 2016-12-20 13:52:46 +01:00
libscott
b2cb426097 Merge pull request #962 from bigchaindb/remove-asset-keywords
Remove asset keywords
2016-12-20 10:02:42 +01:00
Rodolphe Marques
050990aac1 Created tests for mongodb schema
Removed some unused secondary indexes
2016-12-19 15:45:02 +01:00
troymc
8d0ff25a39 Don't include the top-level bigchaindb/ folder in path names 2016-12-19 15:34:58 +01:00
Scott Sadler
92fee24395 fix forgotten test inputs-outputs 2016-12-19 13:44:20 +01:00
Scott Sadler
4e17fe5c3d change fulfills.idx to fulfills.output 2016-12-19 12:29:29 +01:00
Scott Sadler
b20a770b02 restore accidentally deleted tests 2016-12-19 12:29:29 +01:00
Brett Sun
2f4da6a32f Extra renames and small fixes for inputs-outputs (#952)
* Fix typos pointed out in review by @ttmc

* Reword description of an input in the transaction schema

* Re-add removed comment in transaction model

* Fix small typos in some comments in the transaction model

* Add trailling commas to a multiline dict in the transaction model tests

* Fix small things with server docs changes

* Add description of public keys' association with conditions in transaction concept docs

* Reword description of Transaction.create's  and  args

* Rename output_uri to output_condition_uri

* Fix hardcoded class name vs. self.__class__

* Rename instances of 'out' with 'output'

* Rename instances of  and  with  to avoid name clash with built-in

* Remove unnecessary renaming of cryptoconditions.Fulfillment import in transaction model

* Remove instances of  in transaction model

* Remove usages of fulfillment in cases where input makes more sense

* Reword docstrings for init methods in transaction models

* Rename usages of condition where output is now a better fit

* Add descriptions to TransactionLink's txid and idx in schema

* Minor correction to output idx description in transaction yaml
2016-12-19 12:29:29 +01:00
Scott Sadler
4b235f1f72 rename condition and fulfillment to output in test names where neccesary 2016-12-19 12:29:29 +01:00
Scott Sadler
ed55b3984e s/fulfillments/inputs/g && s/conditions/outputs/g (code changes) 2016-12-19 12:29:29 +01:00
Sylvain Bellemare
2b9a351912 Rename owner_after to public_key 2016-12-19 04:31:05 +01:00
troymc
ae236d9f23 Moved dev-and-test/running-all-tests.md content to tests/README.md 2016-12-18 11:41:04 +01:00
troymc
dd01dd099f Moved tests docs from PYTHON_STYLE_GUIDE.md to tests/README.md 2016-12-18 11:01:15 +01:00
troymc
a005cca3b9 Initial edits to tests/README.md 2016-12-18 10:44:57 +01:00
Sylvain Bellemare
6b319cf3d6 Use yield statement instead of finalizer
to specify teardown code
2016-12-17 21:16:47 +01:00
Brett Sun
b4063dd9ad More test abstractions for multiple databases (#950)
* Remove unnecessary import of rethinkdb in a test

* Move test_run_query_util as a rethinkdb-specific test

* Move rethinkdb-specific command tests to own file

* Add __init__.py to new test folders

* Move command tests to their own test module

* Move fixtures out of command tests into separate conftest for commands

* Fix some small flake8 issues with rethinkdb's test_run_query_util

* Add pytest ignore hook to filter out test dirs that are not for the requested backend

* Move backend-specific tests in tests/db/ to tests/backend/
2016-12-16 22:17:13 +01:00
Sylvain Bellemare
c81e7a7479 Merge pull request #954 from sbellem/re-work-test-fixtures-iter-one
Re work test fixtures iter one
2016-12-16 20:59:27 +01:00
Sylvain Bellemare
dc5cfb43f8 Cleanup integration test 2016-12-16 18:43:21 +01:00
Sylvain Bellemare
e10ada0ad4 Cleanup conftest 2016-12-16 18:38:25 +01:00
Brett Sun
27ce18d6ba Remove unused request fixtures in root conftest 2016-12-16 17:58:48 +01:00
Brett Sun
d4ba1ff1c8 Update setup_database fixture to changes in #953 2016-12-16 17:58:48 +01:00
Scott Sadler
d2827dfae8 remove asset keywords 2016-12-16 13:50:23 +01:00
Rodolphe Marques
c1a5d5e86f Merge remote-tracking branch 'origin/master' into docker-mongo 2016-12-16 12:54:42 +01:00
ryan
dcba5421f1 schema fixes 2016-12-16 12:19:10 +01:00
ryan
33480bead2 remove rethinkdb calls 2016-12-16 12:16:00 +01:00
Sylvain Bellemare
3922b2d4fa Fix unspents endpoint 2016-12-15 17:17:18 +01:00
tim
09cbba8886 Notes, TODOs and formating 2016-12-15 17:17:18 +01:00
tim
8e8bc90742 Add unspents endpoint 2016-12-15 17:17:18 +01:00
tim
f78c90ada8 Add to_uri for TransactionLink 2016-12-15 17:17:18 +01:00
Sylvain Bellemare
56feefe3f4 Re-work test fixtures - iteration one 2016-12-15 15:54:15 +01:00
Sylvain Bellemare
65dab4f2eb Group std lib imports together (pep 8) 2016-12-15 15:51:09 +01:00
Ryan Henderson
d8256d50f2 remove rethinkdb calls (#953)
* remove rethinkdb calls from db/conftest.py
2016-12-15 14:16:30 +01:00
Rodolphe Marques
14a2c13a06 Removed get_old_transactions
Fixed tests.
2016-12-14 13:12:47 +01:00
Rodolphe Marques
976a3e8254 Merge remote-tracking branch 'origin/master' into feat/905/abstract-db-changefeed 2016-12-14 12:43:47 +01:00
Ryan Henderson
f725279a51 remove old tx recovery on block process start (#903) 2016-12-14 12:33:47 +01:00
Rodolphe Marques
530681c905 Re-added the get_changefeed methos in the pipelines.
Fixed tests.
Fixed typos.
2016-12-13 15:11:25 +01:00
Rodolphe Marques
d246a1498f Added some tests for changefeed generics
pepify import
googlify docstring
2016-12-13 12:46:52 +01:00
Sylvain Bellemare
b87baaaa1d Test backend.schema.init_database 2016-12-13 11:59:57 +01:00
Rodolphe Marques
e303e355db Delete outdated pipelines/utils.py
Reorganized and fixed tests.
2016-12-13 11:17:24 +01:00
Rodolphe Marques
134f9e85a0 Updated vote pipeline to use the changefeed abstraction
Fixed tests.
2016-12-13 11:16:37 +01:00
Rodolphe Marques
f09285d32f Fixed some code typos
Changed election pipeline to use the new changefeed abstraction
2016-12-13 11:16:29 +01:00
Rodolphe Marques
8266dfadb0 Fixed typos
Fixed failing test
2016-12-13 11:15:49 +01:00
Sylvain Bellemare
2f4ee4d8b9 Set default of database-backend to env var if set 2016-12-13 10:22:39 +01:00
Sylvain Bellemare
8a68e24e69 Abstract db layer cherrypick docs (#932)
* Add README.md to tests/ to describe test structure and pytest customizations

* Add package-level docstrings to backends

* Add README.md explaining the backend architecture

* Small improvements to docstrings in backend modules

* Restructure the backend automodule docs

* Add more docstrings to backend connections

* Add init to base backend Connection class to document expected interface

* Reword the backend/README.md docs
2016-12-12 18:28:43 +01:00
Sylvain Bellemare
24a701096d Filter out block id 2016-12-12 17:38:41 +01:00
Sylvain Bellemare
ff583c5546 Test generic backend functions 2016-12-12 17:38:28 +01:00