def test_missing_subtopic_commit_logs(self):
    subtopic_models.SubtopicPageSnapshotMetadataModel(id=('%s-1' % self.SUBTOPIC_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' + ' - SubtopicPageSnapshotMetadataModel'), ['topic_id0-1-1']], [('VALIDATION FAILURE - MISSING COMMIT LOGS' + ' - SubtopicPageSnapshotMetadataModel'), ['topic_id0-1-1']]]
    self.assertItemsEqual(expected_output, actual_output)
def test_missing_subtopic_commit_logs(self):
    subtopic_models.SubtopicPageSnapshotMetadataModel(id=('%s-1' % self.SUBTOPIC_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' + ' - SubtopicPageSnapshotMetadataModel'), ['topic_id0-1-1']], [('VALIDATION FAILURE - MISSING COMMIT LOGS' + ' - SubtopicPageSnapshotMetadataModel'), ['topic_id0-1-1']]]
    self.assertItemsEqual(expected_output, actual_output)