예제 #1
0
def test_get_nokernels(arg, expected):
    with pytest.raises(ValueError):
        bodies.get(arg)
예제 #2
0
def test_get(arg, expected):
    assert bodies.get(arg) is Body(expected)