Beispiel #1
0
def test_get_impl_key_from_typename():
    assert service._get_impl_key_from_typename(
        "timeline.timeline", "test") == "timeline.timeline.test"
    with pytest.raises(Exception):
        service._get_impl_key(None)
Beispiel #2
0
def test_get_impl_key_from_typename():
    assert service._get_impl_key_from_typename("timeline.timeline", "test") == "timeline.timeline.test"
    with pytest.raises(Exception):
        service._get_impl_key(None)
Beispiel #3
0
def test_get_impl_key_from_model():
    assert service._get_impl_key_from_model(Timeline,
                                            "test") == "timeline.timeline.test"
    with pytest.raises(Exception):
        service._get_impl_key(None)
Beispiel #4
0
def test_get_impl_key_from_model():
    assert service._get_impl_key_from_model(Timeline, "test") == "timeline.timeline.test"
    with pytest.raises(Exception):
        service._get_impl_key(None)