Closed
Description
Description
This:
@pytest.fixture
def project_context(config_loader):
return KedroContext(
package_name="my_package_name",
project_path=Path.cwd(),
config_loader=config_loader,
hook_manager=_create_hook_manager(),
)
Fails the only unit test because a KedroContext
requires env
argument to be supplied.
Context
I resolved it for my project by specifying env=None
there, but it should work out of the box from the starter.
Steps to Reproduce
- Initialize
kedro new
with all defaults except pyspark pip install -e .
pytest
Your Environment
- Kedro version used (
pip show kedro
orkedro -V
): 0.19.6 - Python version used (
python -V
): 3.10 - Operating system and version: MacOS
Metadata
Labels
No labels
Activity