def METHOD_NAME(self):
    response = self.client.get('/')
    # without checking connection.in_atomic_block view raises 500
    # due attempt to rollback without transaction
    assert response.status_code == status.HTTP_404_NOT_FOUND