mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-12-26 00:50:09 +01:00
Update test_dupes.py
This commit is contained in:
parent
ea1615b4c1
commit
8db3fe1dcd
@ -36,6 +36,6 @@ def test_dupes(file_path):
|
||||
slug = definition.get('slug')
|
||||
|
||||
if KNOWN_MODELS.get(slug, None) is not None:
|
||||
pytest.fail(f"{file_path} is a duplicate device_type for {slug}")
|
||||
pytest.fail(f"{file_path} is a duplicate device_type for {slug}", False)
|
||||
|
||||
KNOWN_MODELS[slug] = definition.get('model')
|
||||
|
Loading…
Reference in New Issue
Block a user