def test_get_external_id_relationship_failure(self):
    nonexist_thread_id = 'nonexist_thread_id'
    subscription_services.subscribe_to_thread(self.user_id, nonexist_thread_id)
    expected_output = [u'[u\'failed validation check for general_feedback_thread_ids field check of UserSubscriptionsModel\', [u"Entity id 110211048197157141232: based on field general_feedback_thread_ids having value nonexist_thread_id, expect model GeneralFeedbackThreadModel with id nonexist_thread_id but it doesn\'t exist"]]', u"[u'fully-validated UserSubscriptionsModel', 1]"]
    run_job_and_check_output(self, expected_output, sort=True)
def test_get_external_id_relationship_failure(self):
    nonexist_thread_id = 'nonexist_thread_id'
    subscription_services.subscribe_to_thread(self.user_id, nonexist_thread_id)
    expected_output = [u'[u\'failed validation check for general_feedback_thread_ids field check of UserSubscriptionsModel\', [u"Entity id 110211048197157141232: based on field general_feedback_thread_ids having value nonexist_thread_id, expect model GeneralFeedbackThreadModel with id nonexist_thread_id but it doesn\'t exist"]]', u"[u'fully-validated UserSubscriptionsModel', 1]"]
    run_job_and_check_output(self, expected_output, sort=True)