We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c66eb32 commit cd5d435Copy full SHA for cd5d435
infrahub_sdk/pytest_plugin/items/check.py
@@ -40,8 +40,7 @@ def instantiate_check(self) -> None:
40
check_class = self.resource_config.load_class( # type: ignore[attr-defined]
41
import_root=self.repository_base, relative_path=relative_path
42
)
43
- client = self.session.infrahub_client # type: ignore[attr-defined]
44
- self.check_instance = check_class(branch=client.default_branch, client=client)
+ self.check_instance = check_class()
45
46
def run_check(self, variables: dict[str, Any]) -> Any:
47
self.instantiate_check()
0 commit comments