Skip to content

Commit

Permalink
Move test without configure project to run earlier
Browse files Browse the repository at this point in the history
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
  • Loading branch information
deepyaman committed Jul 20, 2022
1 parent 936bde5 commit 3297763
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/framework/project/test_pipeline_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
from kedro.pipeline import Pipeline


def test_pipelines_without_configure_project_is_empty():
assert pipelines == {}


@pytest.fixture
def mock_package_name_with_pipelines_file(tmpdir):
pipelines_file_path = tmpdir.mkdir("test_package") / "pipeline_registry.py"
Expand All @@ -25,10 +29,6 @@ def register_pipelines():
sys.path.pop(0)


def test_pipelines_without_configure_project_is_empty():
assert pipelines == {}


@pytest.fixture
def mock_package_name_with_unimportable_pipelines_file(tmpdir):
pipelines_file_path = tmpdir.mkdir("test_broken_package") / "pipeline_registry.py"
Expand Down

0 comments on commit 3297763

Please sign in to comment.