'Test wiki when it is enabled but not open to the public'

def test_wiki_enabled_and_not_public(self):

    settings.WIKI_ENABLED = True
    self.course.allow_public_wiki_access = False
    self.assertIsNone(self.get_wiki_tab(self.user, self.course))
    self.assertIsNotNone(self.get_wiki_tab(self.instructor, self.course))
