':return: A string with a message I can use to debug issues, contains
the scan log information available in the REST API (if any)'

def create_assert_message(self):

    response = requests.get(('%s/scans/' % self.api_url), auth=self.api_auth, verify=False)
    scan_id = response.json()['items'][0]['id']
    response = requests.get(('%s/scans/%s/log' % (self.api_url, scan_id)), auth=self.api_auth, verify=False)
    scan_log = '\n'.join([m['message'] for m in response.json()['entries']])
    self.maxDiff = None
    return ('Assertion    failed!    The    scan    log    contains:\n\n%s' % scan_log)
