예제 #1
0
def test_get_organizer_no_organizer():
    x = get_organizer({
        '_embedded': {
            'osdi:organizer_xx': {
                'given_name': 'larry'
            }
        }
    })
    assert x == {}
예제 #2
0
def test_get_organizer_none_embedded():
    x = get_organizer({'_embeddedx': None})
    assert x == {}
예제 #3
0
def test_get_organizer_no_embedded():
    x = get_organizer({'_embedded_xx': {'osdi:organizer': None}})
    assert x == {}