Skip to main content

infrahub_sdk.testing.repository

Classes

RepositorySyncStatus

GitRepoType

GitRepo

Methods:

repo

repo(self) -> GitRepoManager

path

path(self) -> str

init

init(self) -> None

add_to_infrahub

add_to_infrahub(self, client: InfrahubClient, branch: str | None = None) -> dict

wait_for_sync_to_complete

wait_for_sync_to_complete(self, client: InfrahubClient, branch: str | None = None, interval: int = 5, retries: int = 6) -> bool