Skip to content

Commit

Permalink
enable unit test for n_jobs=2
Browse files Browse the repository at this point in the history
  • Loading branch information
MorrisNein committed Oct 14, 2022
1 parent 8d51f56 commit 3e7eb59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/unit/composer/test_history.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 3e7eb59

Please sign in to comment.