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

def test_enrollment_codes_section_not_under_e_commerce_tab(self):

    CourseMode.objects.filter(course_id=self.course.id).update(sku='test_sku')
    response = self.client.get(self.url)
    self.assertIn(self.ecommerce_link, response.content)
    self.assertNotIn('<h3    class="hd    hd-3">Enrollment    Codes</h3>', response.content)
