1
0

Fixed test

This commit is contained in:
Jon Michael Aanes 2024-09-02 11:33:09 +02:00
parent 784d55d1a0
commit a33ea86217
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -3,7 +3,7 @@ from decimal import Decimal
import pytest import pytest
from personal_data.main import to_value from personal_data.util import csv_str_to_value
PARSE_MAPPINGS = [ PARSE_MAPPINGS = [
( (
@ -31,5 +31,5 @@ PARSE_MAPPINGS = [
@pytest.mark.parametrize('text,parsed', PARSE_MAPPINGS) @pytest.mark.parametrize('text,parsed', PARSE_MAPPINGS)
def test_to_value(text, parsed): def test_csv_str_to_value(text, parsed):
assert to_value(text) == parsed, text assert csv_str_to_value(text) == parsed, text