'Scenario: Ensure that Course Number is displayed in certificate details view
Given I have a certificate
When I visit certificate details page on studio
Then I see Course Number next to Course Name'

def test_course_number_in_certificate_details_view(self):

    self.certificates_page.visit()
    certificate = self.create_and_verify_certificate('Course    Title    Override', 0, [self.make_signatory_data('first')])
    certificate.wait_for_certificate_delete_button()
    self.assertEqual(len(self.certificates_page.certificates), 1)
    course_number = self.certificates_page.get_course_number()
    self.assertEqual(self.course_info['number'], course_number)
