def test_audit_collection_rights_snapshot(self):
    collection_models.CollectionRightsSnapshotMetadataModel(id=('%s-1' % self.COL_1_ID), committer_id=self.USER_1_ID, commit_type='edit', commit_cmds=[{'cmd': 'some_command', 'other_field': 'test'}, {'cmd': 'some_other_command', 'other_field': 'test', 'different_field': 'test'}]).put()
    output = self._run_one_off_job()
    self.assertItemsEqual(output, [['collection-some_command-length-2', 1], ['collection-cmd-some_command', 1], ['collection-cmd-some_other_command', 1], ['collection-some_command-field-other_field', 1], ['collection-some_other_command-field-other_field', 1], ['collection-some_other_command-field-different_field', 1]])
def test_audit_collection_rights_snapshot(self):
    collection_models.CollectionRightsSnapshotMetadataModel(id=('%s-1' % self.COL_1_ID), committer_id=self.USER_1_ID, commit_type='edit', commit_cmds=[{'cmd': 'some_command', 'other_field': 'test'}, {'cmd': 'some_other_command', 'other_field': 'test', 'different_field': 'test'}]).put()
    output = self._run_one_off_job()
    self.assertItemsEqual(output, [['collection-some_command-length-2', 1], ['collection-cmd-some_command', 1], ['collection-cmd-some_other_command', 1], ['collection-some_command-field-other_field', 1], ['collection-some_other_command-field-other_field', 1], ['collection-some_other_command-field-different_field', 1]])