Skip to content

Test failure due to upstream spelling change: behaviour vs behavior #334

Open
@mjpieters

Description

@mjpieters

The two expected_schema modules in the tests contain:

        GraphQLDirective(
            name="specifiedBy",
            description="Exposes a URL that specifies the behaviour of this scalar.",
            is_repeatable=False,
            locations=(DirectiveLocation.SCALAR,),
            args={
                "url": GraphQLArgument(
                    GraphQLNonNull(GraphQLString),
                    default_value=Undefined,
                    description="The URL that specifies the behavior of this scalar.",
                    deprecation_reason=None,
                )
            },
        ),

but the graphql-core project adjusted the directive description to use American English, which is part of version 3.2.5.

As a result, main.test_main::test_main_generates_correct_schema_file fails when 3.2.5 is installed, as seen in the CI pipeline here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions