From a33ea862178447bee6b8fdfc38defdeff31dbd99 Mon Sep 17 00:00:00 2001 From: Jon Michael Aanes Date: Mon, 2 Sep 2024 11:33:09 +0200 Subject: [PATCH] Fixed test --- test/test_parsing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/test_parsing.py b/test/test_parsing.py index ce6d15c..8a2e96f 100644 --- a/test/test_parsing.py +++ b/test/test_parsing.py @@ -3,7 +3,7 @@ from decimal import Decimal import pytest -from personal_data.main import to_value +from personal_data.util import csv_str_to_value PARSE_MAPPINGS = [ ( @@ -31,5 +31,5 @@ PARSE_MAPPINGS = [ @pytest.mark.parametrize('text,parsed', PARSE_MAPPINGS) -def test_to_value(text, parsed): - assert to_value(text) == parsed, text +def test_csv_str_to_value(text, parsed): + assert csv_str_to_value(text) == parsed, text