def test_missing_topic_commit_logs(self):
    topic_models.TopicSnapshotMetadataModel(id=('%s-1' % self.TOPIC_ID), committer_id=self.albert_id, commit_type='edit', commit_cmds=self.DUMMY_COMMIT_CMDS).put()
    actual_output = self._run_one_off_job()
    expected_output = [[('VALIDATION FAILURE - MISSING PARENT MODEL' + ' - TopicSnapshotMetadataModel'), ['topic_id0-1']], [('VALIDATION FAILURE - MISSING COMMIT LOGS' + ' - TopicSnapshotMetadataModel'), ['topic_id0-1']]]
    self.assertItemsEqual(expected_output, actual_output)
def test_missing_topic_commit_logs(self):
    topic_models.TopicSnapshotMetadataModel(id=('%s-1' % self.TOPIC_ID), committer_id=self.albert_id, commit_type='edit', commit_cmds=self.DUMMY_COMMIT_CMDS).put()
    actual_output = self._run_one_off_job()
    expected_output = [[('VALIDATION FAILURE - MISSING PARENT MODEL' + ' - TopicSnapshotMetadataModel'), ['topic_id0-1']], [('VALIDATION FAILURE - MISSING COMMIT LOGS' + ' - TopicSnapshotMetadataModel'), ['topic_id0-1']]]
    self.assertItemsEqual(expected_output, actual_output)