Skip to content

Commit

Permalink
remove normalizer factory test
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrai2 committed Oct 20, 2023
1 parent 4200f97 commit ec559dd
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions tests/unit/test_factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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(
{
Expand Down

0 comments on commit ec559dd

Please sign in to comment.