Conditions | 2 |
Total Lines | 4 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import pytest |
||
19 | def test_create_method(dataset_without_feature_vectors, som_factory_infra): |
||
20 | with pytest.raises(som_factory_infra['no_feature_vectors_error'], |
||
21 | match='Attempted to train a Som model, but did not find feature vectors in the dataset.'): |
||
22 | som_factory_infra['factory_method'](dataset_without_feature_vectors, 5, 4) |
||
23 |