'/course/ is the base URL for all courses, but by itself, it should
redirect to /home/.'

def test_page_redirect(self):

    self.dashboard_page = DashboardPage(self.browser)
    self.dashboard_page.visit()
    self.assertEqual(self.browser.current_url.strip('/').rsplit('/')[(-1)], 'home')
