def setUp(self):
    super(ConfigPropertySnapshotContentModelValidatorTests, self).setUp()
    self.signup(self.ADMIN_EMAIL, self.ADMIN_USERNAME)
    self.admin_id = self.get_user_id_from_email(self.ADMIN_EMAIL)
    self.config_model = config_models.ConfigPropertyModel(id='config_model', value='c')
    self.config_model.commit(self.admin_id, [])
    user_models.UserSettingsModel(id=feconf.SYSTEM_COMMITTER_ID, email='example@example.com').put()
    self.model_instance = config_models.ConfigPropertySnapshotContentModel.get_by_id('config_model-1')
    self.csrf_model_instance = config_models.ConfigPropertySnapshotContentModel.get_by_id('oppia_csrf_secret-1')
    self.job_class = prod_validation_jobs_one_off.ConfigPropertySnapshotContentModelAuditOneOffJob
def setUp(self):
    super(ConfigPropertySnapshotContentModelValidatorTests, self).setUp()
    self.signup(self.ADMIN_EMAIL, self.ADMIN_USERNAME)
    self.admin_id = self.get_user_id_from_email(self.ADMIN_EMAIL)
    self.config_model = config_models.ConfigPropertyModel(id='config_model', value='c')
    self.config_model.commit(self.admin_id, [])
    user_models.UserSettingsModel(id=feconf.SYSTEM_COMMITTER_ID, email='example@example.com').put()
    self.model_instance = config_models.ConfigPropertySnapshotContentModel.get_by_id('config_model-1')
    self.csrf_model_instance = config_models.ConfigPropertySnapshotContentModel.get_by_id('oppia_csrf_secret-1')
    self.job_class = prod_validation_jobs_one_off.ConfigPropertySnapshotContentModelAuditOneOffJob