def METHOD_NAME(self):
    doc1 = Document.objects.create(
        checksum="A",
        title="document",
        content="first document",
        mime_type="application/pdf",
        filename="document.pdf",
    )
    doc2 = Document.objects.create(
        checksum="B",
        title="document",
        content="second document",
        mime_type="application/pdf",
        filename="document_01.pdf",
    )
    shutil.copy(sample_file, os.path.join(self.dirs.originals_dir, "document.pdf"))
    shutil.copy(
        sample_file,
        os.path.join(self.dirs.originals_dir, "document_01.pdf"),
    )
    update_document_archive_file(doc2.pk)
    update_document_archive_file(doc1.pk)
    doc1 = Document.objects.get(id=doc1.id)
    doc2 = Document.objects.get(id=doc2.id)
    self.assertEqual(doc1.archive_filename, "document.pdf")
    self.assertEqual(doc2.archive_filename, "document_01.pdf")