Skip to content
Snippets Groups Projects
Commit 5b5d2aaa authored by Erik Reid's avatar Erik Reid
Browse files

pep8

parent e2feb269
Branches
No related tags found
No related merge requests found
...@@ -12,6 +12,7 @@ router = APIRouter() ...@@ -12,6 +12,7 @@ router = APIRouter()
FIRST_LAG_INDEX = 0 FIRST_LAG_INDEX = 0
class InterfaceCounts(pydantic.BaseModel): class InterfaceCounts(pydantic.BaseModel):
total: int total: int
available: int available: int
...@@ -70,7 +71,7 @@ async def load_new_router_interfaces(fqdn: str) -> InterfacesSummary: ...@@ -70,7 +71,7 @@ async def load_new_router_interfaces(fqdn: str) -> InterfacesSummary:
async def reconcile_current_router_interfaces(fqdn: str): async def reconcile_current_router_interfaces(fqdn: str):
raise HTTPException( raise HTTPException(
status_code=501, status_code=501,
detail=f'not implemented') detail='not implemented')
@router.post('/next-lag/{fqdn}') @router.post('/next-lag/{fqdn}')
......
...@@ -44,8 +44,6 @@ def test_next_lag(client, resources_db, mocked_router, router_name): ...@@ -44,8 +44,6 @@ def test_next_lag(client, resources_db, mocked_router, router_name):
assert row.availability == model.AvalabilityStates.RESERVED.name assert row.availability == model.AvalabilityStates.RESERVED.name
def test_next_physical(client, resources_db, mocked_router, router_name): def test_next_physical(client, resources_db, mocked_router, router_name):
if '.lab.' in router_name: if '.lab.' in router_name:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment