def test_missing_viewer_user_model_failure(self):
    user_models.UserSettingsModel.get_by_id(self.viewer_id).delete()
    expected_output = [(u'[u\'failed validation check for viewer_user_ids field check of ExpSummaryModel\', [u"Entity id 2: based on field viewer_user_ids having value %s, expect model UserSettingsModel with id %s but it doesn\'t exist"]]' % (self.viewer_id, self.viewer_id)), u"[u'fully-validated ExpSummaryModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_missing_viewer_user_model_failure(self):
    user_models.UserSettingsModel.get_by_id(self.viewer_id).delete()
    expected_output = [(u'[u\'failed validation check for viewer_user_ids field check of ExpSummaryModel\', [u"Entity id 2: based on field viewer_user_ids having value %s, expect model UserSettingsModel with id %s but it doesn\'t exist"]]' % (self.viewer_id, self.viewer_id)), u"[u'fully-validated ExpSummaryModel', 2]"]
    run_job_and_check_output(self, expected_output, sort=True)