def test_delete_resource_violating_constraint(self):
        response = self.app.delete('/artists/275')
        assert response.status_code == 422
Test DELETEing a resource which violates a foreign key
dataset/ETHPy150Open jeffknupp/sandman/tests/test_sandman.py/TestSandmanBasicVerbs.test_delete_resource_violating_constraint