Skip to content
Snippets Groups Projects

add 2 test cases for create_iptrunk workflow and one for create_site

Closed Mohammad Torkashvand requested to merge feature/NAT-262-add-tests-for-workflows into develop
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -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(),
Loading