Skip to content

Commit

Permalink
More tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rafalp committed Jan 18, 2024
1 parent f7ee398 commit 4efe2d2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions tests/main/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,22 @@ def test_main_can_read_config_from_provided_file(tmp_path):
"schema.py",
GRAPHQL_SCHEMAS_PATH / "all_types" / "expected_schema.py",
),
(
(
GRAPHQL_SCHEMAS_PATH / "example" / "pyproject-schema-graphql.toml",
(GRAPHQL_SCHEMAS_PATH / "example" / "schema.graphql",),
),
"expected_schema.graphql",
GRAPHQL_SCHEMAS_PATH / "example" / "expected_schema.graphql",
),
(
(
GRAPHQL_SCHEMAS_PATH / "example" / "pyproject-schema-gql.toml",
(GRAPHQL_SCHEMAS_PATH / "example" / "schema.graphql",),
),
"expected_schema.gql",
GRAPHQL_SCHEMAS_PATH / "example" / "expected_schema.gql",
),
],
indirect=["project_dir"],
)
Expand Down

0 comments on commit 4efe2d2

Please sign in to comment.