'Verify that the updates course tool is visible only when the course
has one or more updates.'

@override_waffle_flag(UNIFIED_COURSE_TAB_FLAG, active=True)
def test_updates_tool_visibility(self):

    url = course_home_url(self.course)
    response = self.client.get(url)
    self.assertNotContains(response, TEST_COURSE_UPDATES_TOOL, status_code=200)
    create_course_update(self.course, self.user, TEST_UPDATE_MESSAGE)
    url = course_home_url(self.course)
    response = self.client.get(url)
    self.assertContains(response, TEST_COURSE_UPDATES_TOOL, status_code=200)
