Skip to content
Snippets Groups Projects
Commit 58c11b45 authored by Hakan Calim's avatar Hakan Calim Committed by Karel van Klink
Browse files

NAT-410 reformated

parent d779f47b
No related branches found
No related tags found
1 merge request!159Feature/nat 410 add validator for tty number
......@@ -58,15 +58,12 @@ def initial_input_form_generator(product_name: str) -> FormGenerator:
iptrunk_speed: PhyPortCapacity
iptrunk_minimum_links: int
@validator("tt_number", allow_reuse=True)
def validate_tt_number(cls, tt_number) -> str:
return validate_tt_number(tt_number)
initial_user_input = yield CreateIptrunkForm
router_enum_a = Choice("Select a router", zip(routers.keys(), routers.items(), strict=True)) # type: ignore[arg-type]
class SelectRouterSideA(FormPage):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment