def test_should_regex_convert_string(): assert_conversion(serializers.RegexField, graphene.String, regex='[0-9]+')