def test_shortened_task_name_reference(self, capfd): dbnd_cmd( "run", "dbnd_test_scenarios.complex_package_structure.complex_package.complex_structure_pipeline", ) output = capfd.readouterr() assert "Auto-decorating and treating it as @task" not in output.out assert "Auto-decorating and treating it as @task" not in output.err
def test_show_configs(self): dbnd_cmd("show-configs", [])
def test_show_tasks(self): dbnd_cmd("show-tasks", [])
def test_tracker_wait(mock_composite_store): # works without global tracker, as all tests runs with [file,console] trackers only mock_composite_store.side_effect = [False, False, True, True] dbnd_cmd("tracker", ["wait"]) assert mock_composite_store.call_count == 4