Skip to content
Snippets Groups Projects
Verified Commit 854fe0dc authored by Neda Moeini's avatar Neda Moeini Committed by Karel van Klink
Browse files

Made ruff happy.

parent 3ac7aadc
Branches
Tags
1 merge request!164Feature/nat 443- QFXes and SRXes
This commit is part of merge request !164. Comments created here will be created in the context of that merge request.
......@@ -52,6 +52,7 @@ class RouterBlockProvisioning(RouterBlockInactive, lifecycle=[SubscriptionLifecy
router_site: SiteBlockProvisioning
vendor: Vendor
class RouterBlock(RouterBlockProvisioning, lifecycle=[SubscriptionLifecycle.ACTIVE]):
"""A router that's currently deployed in the network."""
......
......@@ -55,9 +55,9 @@ def available_interfaces_choices(router_id: UUID, speed: str) -> Choice | None:
def available_interfaces_choices_including_current_members(
router_id: UUID,
speed: str,
interfaces: list[IptrunkInterfaceBlock],
router_id: UUID,
speed: str,
interfaces: list[IptrunkInterfaceBlock],
) -> Choice | None:
"""Return a list of available interfaces for a given router and speed including the current members.
......
......@@ -21,7 +21,6 @@ from gso.products.product_blocks.iptrunk import (
IptrunkType,
PhyPortCapacity,
)
from gso.products.product_types.iptrunk import IptrunkInactive
from gso.products.product_types.router import Router
from gso.services import infoblox, subscriptions
......
......@@ -7,8 +7,8 @@ from gso.products import ProductType, Site
from gso.products.product_blocks.router import RouterRole
from gso.products.product_types.router import Router
from gso.services.subscriptions import get_product_id_by_name
from test import USER_CONFIRM_EMPTY_FORM
from gso.utils.shared_choices import Vendor
from test import USER_CONFIRM_EMPTY_FORM
from test.workflows import (
assert_complete,
assert_pp_interaction_failure,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment