From 3383f6a38d4c1f6ce9d8f1ab46be8d5a5567bc90 Mon Sep 17 00:00:00 2001 From: stumpylog <797416+stumpylog@users.noreply.github.com> Date: Fri, 20 Nov 2026 14:09:17 -0800 Subject: [PATCH] Chore: drop the consumer duplicate ASN test --- src/documents/tests/test_consumer_zone_ocr.py | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/documents/tests/test_consumer_zone_ocr.py b/src/documents/tests/test_consumer_zone_ocr.py index 7488675aee..6877578afa 100644 --- a/src/documents/tests/test_consumer_zone_ocr.py +++ b/src/documents/tests/test_consumer_zone_ocr.py @@ -555,29 +555,6 @@ class TestConsumerZoneOcr: assert document.title == expected_title assert custom_field_value(document, code_field) == expected_code - @pytest.mark.usefixtures("mock_render") - def test_duplicate_asn_is_checked_when_writing( - self, - consume: Callable[..., Document], - ) -> None: - """ - GIVEN: - - A template with title and ASN zones - - Another document already using the zone's ASN - WHEN: - - A matching document is consumed - THEN: - - The ASN is not written - - The title from the same template is written - """ - DocumentFactory(archive_serial_number=777) - make_template(targets=("Title", "ASN")) - - document = consume() - - assert document.archive_serial_number is None - assert document.title == "Zone title" - @pytest.mark.parametrize( "failing", [