Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aab3867

Browse files
committed
Add write hook tests
1 parent 507ab5d commit aab3867

File tree

2 files changed

+15
-8
lines changed

2 files changed

+15
-8
lines changed

Makefile

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,15 @@ default: help
3232
help:
3333
@echo "Usage:"
3434
@echo
35-
@echo " make help Print this help message"
36-
@echo " make test-unit Run unit tests"
37-
@echo " make test-integration Run integration tests"
38-
@echo " make test-remote Run tests on digital ocean"
39-
@echo " make upload-coverage Upload unit test coverage"
40-
@echo " make upload-pypi Release ${PACKAGE_NAME} package to PyPi"
41-
@echo " make clean Cleanup source directory"
42-
@echo " make prepare Prepare ${PACKAGE_NAME} for build"
35+
@echo " make help Print this help message"
36+
@echo " make test-unit Run unit tests"
37+
@echo " make test-integration Run integration tests"
38+
@echo " make test-integration-2.4 Run integration tests"
39+
@echo " make test-remote Run tests on digital ocean"
40+
@echo " make upload-coverage Upload unit test coverage"
41+
@echo " make upload-pypi Release ${PACKAGE_NAME} package to PyPi"
42+
@echo " make clean Cleanup source directory"
43+
@echo " make prepare Prepare ${PACKAGE_NAME} for build"
4344

4445
test-unit:
4546
pytest -v -m unit
@@ -49,6 +50,11 @@ test-integration:
4950
pytest -v -m integration
5051
@killall rethinkdb
5152

53+
test-integration-2.4:
54+
@rethinkdb&
55+
pytest -v -m integration_v2_4_x
56+
@killall rethinkdb
57+
5258
test-ci:
5359
@rethinkdb&
5460
pytest -v --cov rethinkdb --cov-report xml

pytest.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ python_files = test_*.py
33
markers =
44
unit: Run unit tests
55
integration: Run integration tests
6+
integration_v2_4_x: Run 2.4.x only integration tests
67
trio: Run trio related tests
78
tornado: Run tornado related tests
89
asyncio: Run asyncio related tests

0 commit comments

Comments
 (0)