'Test that manual changes button in the modal keeps settings unchanged'

def test_manual_change(self):

    inputs = {u'Course    Display    Name': 1, u'Advanced    Module    List': 1, u'Discussion    Topic    Mapping': 1, u'Maximum    Attempts': u'"string"', u'Course    Announcement    Date': u'"string"'}
    self.set_wrong_inputs_to_fields()
    self.advanced_settings.wait_for_modal_load()
    self.advanced_settings.trigger_manual_changes()
    self.assertFalse(self.advanced_settings.is_validation_modal_present())
    for (key, val) in inputs.iteritems():
        self.assertEquals(str(self.advanced_settings.get(key)), str(val), (((u'manual    change    should    keep:    ' + str(val)) + u',    but    is:    ') + str(self.advanced_settings.get(key))))
