Conditions | 1 |
Total Lines | 7 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | import pytest |
||
9 | @pytest.fixture |
||
10 | def som_factory_infra(): |
||
11 | from so_magic.som.factory import SelfOrganizingMapFactory |
||
12 | from so_magic.som.self_organising_map import NoFeatureVectorsError |
||
13 | return { |
||
14 | 'factory_method': SelfOrganizingMapFactory().create, |
||
15 | 'no_feature_vectors_error': NoFeatureVectorsError |
||
16 | } |
||
23 |