'Make sure response does not have any of the download certificate buttons'

def _check_can_not_download_certificate(self):

    response = self.client.get(reverse('dashboard'))
    self.assertNotContains(response, u'View    Test_Certificate')
    self.assertNotContains(response, u'Download    Your    Test_Certificate    (PDF)')
    self.assertNotContains(response, u'Download    Test_Certificate    (PDF)')
    self.assertNotContains(response, self.DOWNLOAD_URL)
