def test_correct_exp_models(self):
    rights_manager.create_new_exploration_rights(self.EXP_ID, self.albert_id)
    exp_model = exp_models.ExplorationModel(id=self.EXP_ID, title='title', category='category', states_schema_version=1, init_state_name='init_state_name')
    exp_model.commit(self.albert_id, 'exp model created', self.DUMMY_COMMIT_CMDS)
    actual_output = self._run_one_off_job()
    expected_output = [[('COMMIT LOGS SHOULD NOT EXIST AND DOES NOT EXIST - ' + 'ExplorationRightsSnapshotMetadataModel'), 1], ['FOUND COMMIT LOGS - ExplorationSnapshotMetadataModel', 1], ['FOUND PARENT MODEL - ExplorationSnapshotMetadataModel', 1], ['FOUND PARENT MODEL - ExplorationRightsSnapshotMetadataModel', 1]]
    self.assertItemsEqual(expected_output, actual_output)
def test_correct_exp_models(self):
    rights_manager.create_new_exploration_rights(self.EXP_ID, self.albert_id)
    exp_model = exp_models.ExplorationModel(id=self.EXP_ID, title='title', category='category', states_schema_version=1, init_state_name='init_state_name')
    exp_model.commit(self.albert_id, 'exp model created', self.DUMMY_COMMIT_CMDS)
    actual_output = self._run_one_off_job()
    expected_output = [[('COMMIT LOGS SHOULD NOT EXIST AND DOES NOT EXIST - ' + 'ExplorationRightsSnapshotMetadataModel'), 1], ['FOUND COMMIT LOGS - ExplorationSnapshotMetadataModel', 1], ['FOUND PARENT MODEL - ExplorationSnapshotMetadataModel', 1], ['FOUND PARENT MODEL - ExplorationRightsSnapshotMetadataModel', 1]]
    self.assertItemsEqual(expected_output, actual_output)