Source code for ewoksppf.tests.conftest

import pytest
from pypushflow import persistence

from ..engine import PpfWorkflowEngine
from . import test_ppf_actors

test_ppf_actors.SLEEP_TIME = 0


[docs] @pytest.fixture(scope="session") def ppf_log_config(): DEFAULT_DB_TYPE = persistence.DEFAULT_DB_TYPE persistence.DEFAULT_DB_TYPE = "memory" yield persistence.DEFAULT_DB_TYPE = DEFAULT_DB_TYPE
[docs] @pytest.fixture() def engine(): return PpfWorkflowEngine()