def test_bad_relationship_type(self): rel = Relationship('bad_type')
def test_bad_relationship_type(self): with pytest.raises(ValueError): Relationship('bad_type')