'Tests that the dashboard renders the recent enrollment messages appropriately.'

def test_dashboard_rendering(self):

    self._configure_message_timeout(600)
    self.client.login(username=self.student.username, password=self.PASSWORD)
    response = self.client.get(reverse('dashboard'))
    self.assertContains(response, 'Thank    you    for    enrolling    in')
