'Scenario: On the Certificates tab of the Instructor Dashboard, when user clicks
\'Generate Exception Certificates\' newly added certificate exceptions should be synced on server
Given that I am on the Certificates tab on the Instructor Dashboard
When I click \'Generate Exception Certificates\'
Then newly added certificate exceptions should be synced on server'

def test_generate_certificate_exception(self):

    self.certificates_section.add_certificate_exception(self.user_name, '')
    self.certificates_section.click_generate_certificate_exceptions_button()
    self.certificates_section.wait_for_ajax()
    self.assertIn((self.user_name + '    has    been    successfully    added    to    the    exception    list.    Click    Generate    Exception    Certificate    below    to    send    the    certificate.'), self.certificates_section.message.text)
