File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
infrahub_sdk/pytest_plugin/items Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 77import ujson
88from httpx import HTTPStatusError
99
10+ from ...node import InfrahubNode
1011from ..exceptions import OutputMatchError , PythonTransformDefinitionError
1112from ..models import InfrahubTestExpectedResult
1213from .base import InfrahubItem
@@ -41,7 +42,7 @@ def instantiate_transform(self) -> None:
4142 )
4243 client = self .session .infrahub_client # type: ignore[attr-defined]
4344 # TODO: Look into seeing how a transform class may use the branch, but set as a empty string for the time being to keep current behaviour
44- self .transform_instance = transform_class (branch = "" , client = client )
45+ self .transform_instance = transform_class (branch = "" , client = client , infrahub_node = InfrahubNode )
4546
4647 def run_transform (self , variables : dict [str , Any ]) -> Any :
4748 self .instantiate_transform ()
You can’t perform that action at this time.
0 commit comments