def test_get_organizer_no_organizer(): x = get_organizer({ '_embedded': { 'osdi:organizer_xx': { 'given_name': 'larry' } } }) assert x == {}
def test_get_organizer_none_embedded(): x = get_organizer({'_embeddedx': None}) assert x == {}
def test_get_organizer_no_embedded(): x = get_organizer({'_embedded_xx': {'osdi:organizer': None}}) assert x == {}