Skip to content
Snippets Groups Projects
  • Daniel W. Anner's avatar
    cfbc3ec2
    Jpsu fix (#1520) · cfbc3ec2
    Daniel W. Anner authored
    * Added test functionality to use original all files testing. Fixed JPSU-920-AC-AFO issue from Issue#1514
    
    * Fixed JPSU issue
    
    * Fixing file format issue
    
    * fixing file we altered by accident
    Jpsu fix (#1520)
    Daniel W. Anner authored
    * Added test functionality to use original all files testing. Fixed JPSU-920-AC-AFO issue from Issue#1514
    
    * Fixed JPSU issue
    
    * Fixing file format issue
    
    * fixing file we altered by accident
test_configuration.py 682 B
import os

SCHEMAS = (
    ('device-types', 'devicetype.json'),
    ('module-types', 'moduletype.json'),
)

IMAGE_FILETYPES = (
    'bmp', 'gif', 'pjp', 'jpg', 'pjpeg', 'jpeg', 'jfif', 'png', 'tif', 'tiff', 'webp'
)

COMPONENT_TYPES = (
    'console-ports',
    'console-server-ports',
    'power-ports',
    'power-outlets',
    'interfaces',
    'front-ports',
    'rear-ports',
    'device-bays',
    'module-bays',
)

ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname( __file__ ), '..'))

KNOWN_SLUGS = set()
KNOWN_MODULES = set()

USE_LOCAL_KNOWN_SLUGS = False
USE_UPSTREAM_DIFF = True

NETBOX_DT_LIBRARY_URL = "https://github.com/netbox-community/devicetype-library.git"