Beispiel #1
0
def test_parse_deceased_field_00(deceased, expected):
    """Ensure a deceased field is parsed correctly."""
    d = {}
    d = apd.parse_deceased_field(deceased)
    for key in expected:
        assert d[key] == expected[key]
Beispiel #2
0
def test_parse_deceased_field_00(input_, expected):
    """Ensure the deceased field gets parsed correctly."""
    actual = apd.parse_deceased_field(input_)