Skip to content

Commit 8273796

Browse files
committed
Use correct case for Infrahub
1 parent 3269a41 commit 8273796

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

infrahub_sdk/pytest_plugin/items/graphql_query.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

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

2222
def execute_query(self) -> Any:

infrahub_sdk/schema/repository.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424

2525

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

2929

3030
class InfrahubRepositoryArtifactDefinitionConfig(InfrahubRepositoryConfigElement):

infrahub_sdk/testing/docker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
def skip_version(min_infrahub_version: str | None = None, max_infrahub_version: str | None = None) -> bool:
1515
"""
16-
Check if a test should be skipped depending on infrahub version.
16+
Check if a test should be skipped depending on Infrahub version.
1717
"""
1818
if INFRAHUB_VERSION is None:
1919
return True

tests/integration/test_infrahub_client.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ async def test_get_all(self, client: InfrahubClient, base_dataset):
6565
assert isinstance(nodes[0], InfrahubNode)
6666
assert [node.name.value for node in nodes] == ["Bella", "Luna"]
6767

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

0 commit comments

Comments
 (0)