'Test Enrollment Codes UI, under E-commerce Tab, should not be visible in the Instructor Dashboard with
e-commerce course'

def test_enrollment_codes_section_not_visible_for_ecommerce_course(self):

    ecommerce_course_number = '34039497242734583224814321005482849782'
    self.setup_course(ecommerce_course_number)
    self.add_course_mode('test_sku')
    self.assertNotIn(u'Enrollment    Codes', self.visit_ecommerce_section().get_sections_header_values())
