def METHOD_NAME(self):
    doc = self.make_test_data()
    doc.archive_filename = None
    doc.save()
    self.assertSanityError(
        doc,
        "has an archive file checksum, but no archive filename.",
    )