Skip to content

Commit 9072c86

Browse files
committed
Add gabbi 2.6 support
Since v2.6 gabbi requires the `test_loader_name` parameter. This patch bumps minimum supported gabbi version as well as adds the mentioned parameter to the test generation function.
1 parent 378a8e5 commit 9072c86

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tests/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ PyJWT >= 2.0.1
22
SQLAlchemy >= 1.4.0
33
alembic >= 1.5.2
44
cryptography >= 3.4.6
5-
gabbi >= 2.1.0
5+
gabbi >= 2.6.0
66
psycopg2-binary >= 2.8.6
77
pytest >= 6.2.1
88
requests >= 2.25.1

tests/test_gabbits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -460,4 +460,5 @@ def pytest_generate_tests(metafunc):
460460
fixture_module=sys.modules[__name__],
461461
response_handlers=[LinkHeaderResponseHandler],
462462
metafunc=metafunc,
463+
test_loader_name=__name__,
463464
)

0 commit comments

Comments
 (0)