From 3e7eb599e090b0a4cec2c8fdb0b484ec122c418f Mon Sep 17 00:00:00 2001 From: morrisnein Date: Mon, 10 Oct 2022 15:21:07 +0300 Subject: [PATCH] enable unit test for n_jobs=2 --- test/unit/composer/test_history.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/unit/composer/test_history.py b/test/unit/composer/test_history.py index 693ce96a4b..1a263b8759 100644 --- a/test/unit/composer/test_history.py +++ b/test/unit/composer/test_history.py @@ -130,7 +130,8 @@ def test_ancestor_for_crossover(): assert crossover_result.parents[1].uid == parent_ind_second.uid -def test_newly_generated_history(n_jobs: int = 1): +@pytest.mark.parametrize('n_jobs', [1, 2]) +def test_newly_generated_history(n_jobs: int): project_root_path = str(fedot_project_root()) file_path_train = os.path.join(project_root_path, 'test/data/simple_classification.csv')