def METHOD_NAME(self, test_client, userdata=None, path="firstflight", description="simple test"):
    if userdata is None:
        userdata = self.userdata
    response = test_client.post('/token', data={"email": userdata[0], "password": userdata[2]})
    data = json.loads(response.data.decode('utf-8'))
    token = data["token"]
    response = test_client.post('/create_operation', data={"token": token,
                                                           "path": path,
                                                           "description": description})
    assert response.status_code == 200
    assert response.data.decode('utf-8') == "True"
    operation = Operation.query.filter_by(path=path).first()
    return operation, token