Skip to content
Snippets Groups Projects

Clean up the repo a bit, and add some unit tests

Merged Karel van Klink requested to merge feature/add-unit-tests into develop
2 files
+ 11
13
Compare changes
  • Side-by-side
  • Inline
Files
2
@@ -8,21 +8,9 @@ from pynetbox.models.dcim import Devices, DeviceTypes, Interfaces
from gso.products.product_types.router import Router
from gso.settings import load_oss_params
from gso.utils.device_info import DEFAULT_SITE, FEASIBLE_IP_TRUNK_LAG_RANGE, ROUTER_ROLE, TierInfo
from gso.utils.exceptions import NotFoundError, WorkflowStateError
class NotFoundError(Exception):
"""Exception raised for not found search."""
pass
class WorkflowStateError(Exception):
"""Exception raised on problems during workflow."""
pass
# Define device models
class Manufacturer(pydantic.BaseModel):
"""Defines the manufacturer of a device."""
Loading