def test_get_nokernels(arg, expected): with pytest.raises(ValueError): bodies.get(arg)
def test_get(arg, expected): assert bodies.get(arg) is Body(expected)