def test_home_has_categories(self): request= HttpRequest() response = home_page(request) self.assertIn('<div class="checkbox">', response.content.decode('utf8'))
def test_home_page_html(self): request= HttpRequest() response = home_page(request) self.assertIn('<title>EventBrite Events</title>', response.content.decode('utf8'))