Skip to content

Commit

Permalink
test: print kedro version
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Peder Meldgaard <[email protected]>
  • Loading branch information
JenspederM committed Nov 28, 2024
1 parent b918da9 commit 99e5020
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions tests/unit/test_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import pytest

from kedro_databricks.utils import (
KEDRO_VERSION,
Command,
_is_null_or_empty,
_sort_dict,
Expand Down Expand Up @@ -123,11 +124,15 @@ def test_sort_dict():


def test_require_databricks_run_script():
assert not require_databricks_run_script(), "Should NOT require run script"
assert (
not require_databricks_run_script()
), f"Should NOT require run script - {KEDRO_VERSION}"


def test_require_databricks_run_script_fail():
assert require_databricks_run_script([0, 19, 6]), "Should require run script"
assert require_databricks_run_script(
[0, 19, 6]
), f"Should require run script - {KEDRO_VERSION}"


def test_make_workflow_name():
Expand Down

0 comments on commit 99e5020

Please sign in to comment.