From ba7c2b2c984aa839b911095e7373378e4b648d89 Mon Sep 17 00:00:00 2001 From: Akshay Karle <1443108+akshaykarle@users.noreply.github.com> Date: Fri, 31 May 2024 11:37:31 +0100 Subject: [PATCH] fix sample_data.csv path for broken test --- tests/analyzer_engine/csv_analyzer_engine_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/analyzer_engine/csv_analyzer_engine_test.py b/tests/analyzer_engine/csv_analyzer_engine_test.py index 72d5f62..3b8fdf5 100644 --- a/tests/analyzer_engine/csv_analyzer_engine_test.py +++ b/tests/analyzer_engine/csv_analyzer_engine_test.py @@ -8,7 +8,7 @@ def test_csv_analyzer_engine_anonymizer(): nlp_engine = FlairNLPEngine("flair/ner-english-large") csv_analyzer = CSVAnalyzerEngine(nlp_engine) from presidio_anonymizer import BatchAnonymizerEngine - analyzer_results = csv_analyzer.analyze_csv('../sample_data/sample_data.csv', language="en") + analyzer_results = csv_analyzer.analyze_csv('./tests/sample_data/sample_data.csv', language="en") anonymizer = BatchAnonymizerEngine() anonymized_results = anonymizer.anonymize_dict(analyzer_results)