def METHOD_NAME(self, execute_sql, get_env, requests_post):
    get_env.return_value = 'GITHUB_URL'
    requests_post.return_value = MockResponse(404)
    sql_result = [[self.job_data],
                  [self.project_data],
                  [self.build_data],
                  [self.token_data],
                  [self.commit_data],
                  [self.cluster_data]]
    def side_effect(_1, _2, _3):
        return sql_result.pop(0)
    execute_sql.side_effect = side_effect
    handle_job_update(None, self.event)
    requests_post.assert_called_with(
        'status_url',
        data='{"state": "pending", "target_url": "GITHUB_URL/dashboard/#/project/projectname/build/123/123/job/jobname", "description": "%s", "context": "Job: jobname"}' % ("project_id:%s job_id:%s" % (self.job_data['project_id'], self.job_data['id']) ),
        headers={'Authorization': 'token token', 'User-Agent': 'InfraBox'},
        timeout=10,
        verify=False)