Skip to content

Commit

Permalink
fix: telemetry metadata (#495)
Browse files Browse the repository at this point in the history
---------

Signed-off-by: Dmitry Sorokin <[email protected]>
  • Loading branch information
DimedS authored Dec 21, 2023
1 parent b9dbce5 commit 403718d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
15 changes: 8 additions & 7 deletions kedro-telemetry/tests/test_masking.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,14 @@ def fake_root_dir(tmp_path):
@pytest.fixture
def fake_metadata(fake_root_dir):
metadata = ProjectMetadata(
fake_root_dir / REPO_NAME / "pyproject.toml",
PACKAGE_NAME,
"CLI Tools Testing Project",
fake_root_dir / REPO_NAME,
kedro_version,
fake_root_dir / REPO_NAME / "src",
kedro_version,
config_file=fake_root_dir / REPO_NAME / "pyproject.toml",
package_name=PACKAGE_NAME,
project_name="CLI Tools Testing Project",
project_path=fake_root_dir / REPO_NAME,
source_dir=fake_root_dir / REPO_NAME / "src",
kedro_init_version=kedro_version,
tools=[],
example_pipeline="No",
)
return metadata

Expand Down
15 changes: 8 additions & 7 deletions kedro-telemetry/tests/test_plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@
@fixture
def fake_metadata(tmp_path):
metadata = ProjectMetadata(
tmp_path / REPO_NAME / "pyproject.toml",
PACKAGE_NAME,
"CLI Testing Project",
tmp_path / REPO_NAME,
kedro_version,
tmp_path / REPO_NAME / "src",
kedro_version,
config_file=tmp_path / REPO_NAME / "pyproject.toml",
package_name=PACKAGE_NAME,
project_name="CLI Testing Project",
project_path=tmp_path / REPO_NAME,
source_dir=tmp_path / REPO_NAME / "src",
kedro_init_version=kedro_version,
tools=[],
example_pipeline="No",
)
return metadata

Expand Down

0 comments on commit 403718d

Please sign in to comment.