mirror of
https://github.com/graphql-python/graphene-django.git
synced 2025-04-25 19:43:51 +03:00
* treat warnings as errors when running the tests * silence warnings * bugfix: let DjangoConnectionField call its resolver function that is, the one specified using DjangoConnectionField(..., resolver=some_func) * ignore the DeprecationWarning about typing.ByteString in graphql
17 lines
391 B
INI
17 lines
391 B
INI
[aliases]
|
|
test=pytest
|
|
|
|
[bdist_wheel]
|
|
universal=1
|
|
|
|
[coverage:run]
|
|
omit = */tests/*
|
|
|
|
[tool:pytest]
|
|
DJANGO_SETTINGS_MODULE = examples.django_test_settings
|
|
addopts = --random-order
|
|
filterwarnings =
|
|
error
|
|
# we can't do anything about the DeprecationWarning about typing.ByteString in graphql
|
|
default:'typing\.ByteString' is deprecated:DeprecationWarning:graphql\.pyutils\.is_iterable
|