def METHOD_NAME(db_session, client, contributor_access_token):
    for id, mock in mock_partners.items():
        db_session.add(Partner(**mock))
        db_session.commit()
    created = {}
    for name, mock in mock_incidents.items():
        res = client.post(
            "/api/v1/incidents/create",
            json=mock,
            headers={"Authorization":
                     "Bearer {0}".format(contributor_access_token)},
        )
        assert res.status_code == 200
        created[name] = res.json
    return created