Skip to content

Commit

Permalink
move to entity_recognizer.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SharonHart committed Jan 26, 2025
1 parent 5d5d57d commit 16994fa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions presidio-analyzer/tests/test_entity_recognizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def test_when_remove_duplicates_contained_shorter_length_results_removed():
results = EntityRecognizer.remove_duplicates(arr)
assert len(results) == 1

from presidio_analyzer.validation import ValidationUtils
import pytest

sanitizer_test_set = [
Expand All @@ -138,4 +137,4 @@ def test_sanitize_value(input_text, params, expected_output):
:param expected_output: sanitized value
:return: True/False
"""
assert ValidationUtils.sanitize_value(input_text, params) == expected_output
assert EntityRecognizer.sanitize_value(input_text, params) == expected_output

0 comments on commit 16994fa

Please sign in to comment.