'sends a login request and returns the response'

def _send_login_request(self, password):

    response = self.app.post('/api/v1/login', data=json.dumps({'email': 'myemail@gmail.com', 'password': password}), headers={'content-type': 'application/json'})
    return response
