def test_node_view_with_no_front(self): """ Test node view with no / alias :return: None """ Node.objects.all().delete() create_front('/wrong-slug') assert_no_front(self)
def test_node_view_with_no_content(self): """ Test node view if no content exists Explicitly remove url aliases if any remain, which has the same effect (see below) :return: None """ Node.objects.all().delete() assert_no_front(self)