From ec559dd2261424cf95d380dae5bbf11601e9239d Mon Sep 17 00:00:00 2001 From: dtrai2 Date: Fri, 20 Oct 2023 11:18:42 +0200 Subject: [PATCH] remove normalizer factory test --- tests/unit/test_factory.py | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/tests/unit/test_factory.py b/tests/unit/test_factory.py index ca991a7a6..d001c4abc 100644 --- a/tests/unit/test_factory.py +++ b/tests/unit/test_factory.py @@ -17,10 +17,8 @@ NoTypeSpecifiedError, UnknownComponentTypeError, ) -from logprep.filter.expression.filter_expression import Exists from logprep.processor.clusterer.processor import Clusterer from logprep.processor.labeler.processor import Labeler -from logprep.processor.normalizer.processor import Normalizer from logprep.processor.pseudonymizer.processor import Pseudonymizer from tests.testdata.metadata import path_to_schema, path_to_single_rule @@ -96,22 +94,6 @@ def test_create_pseudonymizer_returns_pseudonymizer_processor(): assert isinstance(processor, Pseudonymizer) -def test_create_normalizer_returns_normalizer_processor(): - processor = Factory.create( - { - "normalizer": { - "type": "normalizer", - "specific_rules": ["tests/testdata/unit/normalizer/rules/specific"], - "generic_rules": ["tests/testdata/unit/normalizer/rules/generic"], - "regex_mapping": "tests/testdata/unit/normalizer/regex_mapping.yml", - } - }, - logger, - ) - - assert isinstance(processor, Normalizer) - - def test_create_clusterer_returns_clusterer_processor(): processor = Factory.create( {