From 859a7ec49a978efe7cdfc9932d0322886a556d79 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Mon, 6 Jul 2026 14:34:39 +0000 Subject: [PATCH] change fake contact details --- scripts/smoke_test_tenant_contacts.py | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/smoke_test_tenant_contacts.py b/scripts/smoke_test_tenant_contacts.py index 0b7073bd9..c211c076e 100644 --- a/scripts/smoke_test_tenant_contacts.py +++ b/scripts/smoke_test_tenant_contacts.py @@ -10,8 +10,8 @@ Usage: 2. Create a throwaway test deal in the HubSpot UI and paste its id into DEAL_ID below. 3. Run: python scripts/smoke_test_tenant_contacts.py - 4. Check the deal in the UI: two contacts (Jane Doe, Joe Bloggs), with - Jane carrying mobilephone, phone, secondary_phone_number, + 4. Check the deal in the UI: two contacts (Daniel Roth, Joe Bloggs), with + Daniel carrying mobilephone, phone, secondary_phone_number, is_vulnerable=true and a two-line vulnerability_description, and Joe carrying only a name and is_vulnerable=false. 5. Clean up: paste the printed contact ids into CONTACT_IDS_TO_ARCHIVE, @@ -35,7 +35,7 @@ from orchestration.abri_tenant_data_sync_orchestrator import ( AbriTenantDataSyncOrchestrator, ) -DEAL_ID = "EDIT-ME" +DEAL_ID = "485125892321" # Cleanup mode: set ARCHIVE = True and list the contact ids printed by a # previous run to archive them instead of creating new ones. @@ -44,11 +44,11 @@ CONTACT_IDS_TO_ARCHIVE: List[str] = [] PLACE_REF = PlaceRef("SMOKE1") -# Jane Doe exercises best-of-kind phone selection, the runner-up pick into +# Daniel Roth exercises best-of-kind phone selection, the runner-up pick into # secondary_phone_number, and the vulnerability fields; Joe Bloggs exercises # the always-written is_vulnerable=false with every other property omitted. SMOKE_TENANCY_XML = b""" - SMOKETEST0001900000107700900123 + SMOKETEST0001900000107700900123 07700900456 01632960123 01632960789 @@ -95,7 +95,9 @@ def _stubbed_abri_client() -> AbriClient: default_resource="", ) ) - client._session = cast(Any, _StubAbriSession()) # pyright: ignore[reportPrivateUsage] + client._session = cast( + Any, _StubAbriSession() + ) # pyright: ignore[reportPrivateUsage] return client