Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Deys Timofey committed Oct 19, 2023
1 parent 34903cb commit 8cf870f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit_tests/ml/test_storage.py
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ def test_load_many_from_folder(self, pickle_with_x_model, pickle_with_x_model_tw
# Order in folder
assert str(models_bin[0].path) in {str(pickle_with_x_model), str(pickle_with_x_model_two)}
assert models_bin[0].raw_data in {with_x_model_data, with_x_model_data_two}
assert str(models_bin[1].path) == {str(pickle_with_x_model), str(pickle_with_x_model_two)}
assert models_bin[1].raw_data == {with_x_model_data, with_x_model_data_two}
assert str(models_bin[1].path) in {str(pickle_with_x_model), str(pickle_with_x_model_two)}
assert models_bin[1].raw_data in {with_x_model_data, with_x_model_data_two}

def test_load_single_file_by_not_default_mask(self, joblib_print_model):
storage = DiskStorage(
Expand Down

0 comments on commit 8cf870f

Please sign in to comment.