Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion infrahub_sdk/pytest_plugin/items/graphql_query.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

class InfrahubGraphQLQueryItem(InfrahubItem):
def validate_resource_config(self) -> None:
# Resource name does not need to match against infrahub repo config
# Resource name does not need to match against Infrahub repository configuration
return

def execute_query(self) -> Any:
Expand Down
2 changes: 1 addition & 1 deletion infrahub_sdk/schema/repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


class InfrahubRepositoryConfigElement(BaseModel):
"""Class to regroup all elements of the infrahub configuration for a repository for typing purpose."""
"""Class to regroup all elements of the Infrahub configuration for a repository for typing purpose."""


class InfrahubRepositoryArtifactDefinitionConfig(InfrahubRepositoryConfigElement):
Expand Down
2 changes: 1 addition & 1 deletion infrahub_sdk/testing/docker.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

def skip_version(min_infrahub_version: str | None = None, max_infrahub_version: str | None = None) -> bool:
"""
Check if a test should be skipped depending on infrahub version.
Check if a test should be skipped depending on Infrahub version.
"""
if INFRAHUB_VERSION is None:
return True
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/test_infrahub_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,9 @@ async def test_get_all(self, client: InfrahubClient, base_dataset):
assert isinstance(nodes[0], InfrahubNode)
assert [node.name.value for node in nodes] == ["Bella", "Luna"]

# TODO enable these tests for infrahub version containing this commit
# TODO enable these tests for Infrahub version containing this commit
# https://github.com/opsmill/infrahub/commit/5a4d6860196b5bfb51fb8a124f33125f4a0b6753
# when we support testing against multiple infrahub versions.
# when we support testing against multiple Infrahub versions.
# async def test_get_all_no_order(self, client: InfrahubClient, base_dataset):
# nodes = await client.all(kind=TESTING_CAT, order=Order(disable=True))
# assert len(nodes) == 2
Expand Down