def setUp(self):
    super(SuggestionTranslateContentUnitTests, self).setUp()
    self.signup(self.AUTHOR_EMAIL, 'author')
    self.author_id = self.get_user_id_from_email(self.AUTHOR_EMAIL)
    self.signup(self.REVIEWER_EMAIL, 'reviewer')
    self.reviewer_id = self.get_user_id_from_email(self.REVIEWER_EMAIL)
    self.suggestion_dict = {'suggestion_id': 'exploration.exp1.thread1', 'suggestion_type': feconf.SUGGESTION_TYPE_TRANSLATE_CONTENT, 'target_type': feconf.ENTITY_TYPE_EXPLORATION, 'target_id': 'exp1', 'target_version_at_submission': 1, 'status': suggestion_models.STATUS_ACCEPTED, 'author_name': 'author', 'final_reviewer_id': self.reviewer_id, 'change': {'cmd': exp_domain.CMD_ADD_WRITTEN_TRANSLATION, 'state_name': 'Introduction', 'content_id': 'content', 'language_code': 'hi', 'content_html': '<p>This is a content.</p>', 'translation_html': '<p>This is translated html.</p>', 'data_format': 'html'}, 'score_category': 'translation.Algebra', 'language_code': 'hi', 'last_updated': utils.get_time_in_millisecs(self.fake_date), 'edited_by_reviewer': False}
def setUp(self):
    super(SuggestionTranslateContentUnitTests, self).setUp()
    self.signup(self.AUTHOR_EMAIL, 'author')
    self.author_id = self.get_user_id_from_email(self.AUTHOR_EMAIL)
    self.signup(self.REVIEWER_EMAIL, 'reviewer')
    self.reviewer_id = self.get_user_id_from_email(self.REVIEWER_EMAIL)
    self.suggestion_dict = {'suggestion_id': 'exploration.exp1.thread1', 'suggestion_type': feconf.SUGGESTION_TYPE_TRANSLATE_CONTENT, 'target_type': feconf.ENTITY_TYPE_EXPLORATION, 'target_id': 'exp1', 'target_version_at_submission': 1, 'status': suggestion_models.STATUS_ACCEPTED, 'author_name': 'author', 'final_reviewer_id': self.reviewer_id, 'change': {'cmd': exp_domain.CMD_ADD_WRITTEN_TRANSLATION, 'state_name': 'Introduction', 'content_id': 'content', 'language_code': 'hi', 'content_html': '<p>This is a content.</p>', 'translation_html': '<p>This is translated html.</p>', 'data_format': 'html'}, 'score_category': 'translation.Algebra', 'language_code': 'hi', 'last_updated': utils.get_time_in_millisecs(self.fake_date), 'edited_by_reviewer': False}