def test_add_contact_detail():
    m = GenericModel()
    m.add_contact_detail(type='fax', value='111-222-3333', note='office')
    assert m.contact_details == [{'type': 'fax', 'value': '111-222-3333', 'note': 'office'}]
dataset/ETHPy150Open opencivicdata/pupa/pupa/tests/scrape/test_model_basics.py/test_add_contact_detail/original