-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
class KeyError 'validity_tests' when running tests #134
Comments
Hey @ArmansPing, please provide the following info:
Without both of these points I can't reproduce (and fix) the error. |
Unfortunately, there is still no traceback, please try to find it. Traceback (most recent call last):
File "/path/to/project/venv/lib/python3.9/site-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
File "/path/to/project/venv/lib/python3.9/site-packages/django/core/handlers/base.py", line 204, in _get_response
response = response.render()
File "/path/to/project/venv/lib/python3.9/site-packages/django/template/response.py", line 105, in render
self.content = self.rendered_content
File "/path/to/project/venv/lib/python3.9/site-packages/django/template/response.py", line 81, in rendered_content
template = self.resolve_template(self.template_name)
File "/path/to/project/venv/lib/python3.9/site-packages/django/template/response.py", line 63, in resolve_template
return select_template(template_name_list)
File "/path/to/project/venv/lib/python3.9/site-packages/django/template/loader.py", line 47, in select_template
return engine.get_template(template_name)
File "/path/to/project/venv/lib/python3.9/site-packages/django/template/backends/django.py", line 34, in get_template
return Template(self.engine.get_template(template_name))
File "/path/to/project/venv/lib/python3.9/site-packages/django/template/engine.py", line 143, in get_template
template = self._cached_templates[template_name]
KeyError: 'non_existent_template.html' |
Hi, I enabled the debug mode of netbox, belows are the traceback:
|
@ArmansPing the error was caused by custom queue name for running tests ( |
Validity Version
3.0.4
NetBox Version
4.1.3
Python Version
3.12.3
Steps to Reproduce
An error occured when "Run Tests"
<class 'KeyError'>
'validity_tests'
Python Version: 3.12.3
NetBox Version: 4.1.3
Plugins:
netbox_napalm_plugin: 0.3.0
validity: 3.0.4
Traceback
No response
The text was updated successfully, but these errors were encountered: