From 420a4c07498004e5c9eb93ef1623f590baf07036 Mon Sep 17 00:00:00 2001 From: Mohammad Torkashvand <mohammad.torkashvand@geant.org> Date: Thu, 21 Sep 2023 09:29:55 +0200 Subject: [PATCH] add tt_number to input_form_wizard_data --- test/workflows/iptrunks/test_create_iptrunks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/workflows/iptrunks/test_create_iptrunks.py b/test/workflows/iptrunks/test_create_iptrunks.py index 2a766eaf9..337012c34 100644 --- a/test/workflows/iptrunks/test_create_iptrunks.py +++ b/test/workflows/iptrunks/test_create_iptrunks.py @@ -6,6 +6,7 @@ from gso.products import Iptrunk from gso.products.product_blocks import PhyPortCapacity from gso.products.product_blocks.iptrunk import IptrunkType from gso.schemas.enums import ProductType +from gso.services.crm import get_customer_by_name from gso.services.subscriptions import get_product_id_by_name from gso.workflows.utils import customer_selector from test.workflows import ( @@ -24,7 +25,8 @@ def input_form_wizard_data(router_subscription_factory, faker): router_side_b = router_subscription_factory() create_ip_trunk_step = { - "customer": getattr(customer_selector(), "8f0df561-ce9d-4d9c-89a8-7953d3ffc961"), + "tt_number": faker.pystr(), + "customer": getattr(customer_selector(), get_customer_by_name("GÉANT")["id"]), "geant_s_sid": faker.pystr(), "iptrunk_type": IptrunkType.DARK_FIBER, "iptrunk_description": faker.sentence(), -- GitLab