Files
Netbox-Store/netbox_plugin/tests/netbox_test_configuration.py
MrBlake f36d6be511
CI / php-store (push) Waiting to run
CI / python-components (push) Waiting to run
feat: add NetBox plugin store
2026-08-24 20:51:25 +02:00

35 lines
920 B
Python

ALLOWED_HOSTS = ["localhost"]
SECRET_KEY = "netbox-plugin-store-compatibility-test-key-2026-08-24!"
API_TOKEN_PEPPERS = {
1: "netbox-plugin-store-compatibility-test-pepper-2026-08-24!",
}
DATABASES = {
"default": {
"ENGINE": "django.db.backends.postgresql",
"NAME": "netbox_compatibility_test",
"USER": "netbox",
"PASSWORD": "unused",
"HOST": "127.0.0.1",
"PORT": 5432,
"CONN_MAX_AGE": 0,
}
}
REDIS = {
"tasks": {"HOST": "127.0.0.1", "PORT": 6379, "DATABASE": 0},
"caching": {"HOST": "127.0.0.1", "PORT": 6379, "DATABASE": 1},
}
PLUGINS = ["netbox_plugin_store"]
PLUGINS_CONFIG = {
"netbox_plugin_store": {
"store_url": "https://store.example",
"allowed_store_urls": ["https://store.example"],
"allowed_artifact_urls": ["https://store.example"],
}
}
CENSUS_REPORTING_ENABLED = False
RELEASE_CHECK_URL = None