updating test code for new jsonschema version. removing old refresolver that is deprecated. updating schemas. (#2038)

This commit is contained in:
Daniel W. Anner
2024-03-27 16:53:45 -04:00
committed by GitHub
parent 6265d602ee
commit 70a75ec469
8 changed files with 68 additions and 46 deletions

View File

@ -4,6 +4,7 @@ SCHEMAS = (
('device-types', 'devicetype.json'),
('module-types', 'moduletype.json'),
)
SCHEMAS_BASEPATH = f"{os.getcwd()}/schema/"
IMAGE_FILETYPES = (
'bmp', 'gif', 'pjp', 'jpg', 'pjpeg', 'jpeg', 'jfif', 'png', 'tif', 'tiff', 'webp'
@ -35,4 +36,4 @@ KNOWN_MODULES = set()
USE_LOCAL_KNOWN_SLUGS = False
USE_UPSTREAM_DIFF = True
NETBOX_DT_LIBRARY_URL = "https://github.com/netbox-community/devicetype-library.git"
NETBOX_DT_LIBRARY_URL = "https://github.com/netbox-community/devicetype-library.git"