mirror of
https://github.com/netbox-community/devicetype-library.git
synced 2024-11-21 16:03:23 +01:00
165a26546d
* fix yaml to x150-series * Fix: Prevent non-ASCII characters in YAML files (#2461) This commit addresses the issue #2461 by updating the test case to detect non-ASCII characters in YAML files. The new check ensures that if any non-ASCII characters are found, the test will fail and provide a clear message listing the problematic characters. • Added a check to identify non-ASCII characters in the content of the YAML files. • If non-ASCII characters are found, the test will now fail with a detailed error message, including the list of non-ASCII characters. This update helps ensure that YAML files are strictly ASCII-encoded, avoiding potential encoding issues in different environments. |
||
---|---|---|
.. | ||
definitions_test.py | ||
device_types.py | ||
generate-slug-list.py | ||
known-modules.pickle | ||
known-slugs.pickle | ||
pickle_operations.py | ||
test_configuration.py | ||
yaml_loader.py |