mirror of
https://github.com/graphql-python/graphene.git
synced 2024-11-29 21:13:58 +03:00
19 lines
356 B
Python
19 lines
356 B
Python
|
from graphene.core.scalars import (
|
||
|
GraphQLSkipField
|
||
|
)
|
||
|
|
||
|
|
||
|
def test_skipfield_serialize():
|
||
|
f = GraphQLSkipField
|
||
|
assert f.serialize('a') is None
|
||
|
|
||
|
|
||
|
def test_skipfield_parse_value():
|
||
|
f = GraphQLSkipField
|
||
|
assert f.parse_value('a') is None
|
||
|
|
||
|
|
||
|
def test_skipfield_parse_literal():
|
||
|
f = GraphQLSkipField
|
||
|
assert f.parse_literal('a') is None
|