Skip to content

Commit a982763

Browse files
committed
Add dummy test to please coveralls rule
1 parent dac341a commit a982763

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

graphene_sqlalchemy/tests/test_types.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
from ..converter import convert_sqlalchemy_composite
99
from ..fields import (SQLAlchemyConnectionField,
10-
UnsortedSQLAlchemyConnectionField,
10+
UnsortedSQLAlchemyConnectionField, createConnectionField,
1111
registerConnectionFieldFactory,
1212
unregisterConnectionFieldFactory)
1313
from ..types import ORMField, SQLAlchemyObjectType, SQLAlchemyObjectTypeOptions
@@ -396,3 +396,8 @@ class Meta:
396396
interfaces = (Node,)
397397

398398
assert not isinstance(ReporterType._meta.fields['articles'].type(), _TestSQLAlchemyConnectionField)
399+
400+
401+
def test_deprecated_createConnectionField():
402+
with pytest.warns(DeprecationWarning):
403+
createConnectionField(None)

0 commit comments

Comments
 (0)