* 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.
* Adding first revision of the VGA test cases
* Second revision with less repetative code
* Handling case where vga has a number in the naming
* the great VGA purge!
* Added test functionality to use original all files testing. Fixed JPSU-920-AC-AFO issue from Issue#1514
* Fixed JPSU issue
* Fixing file format issue
* fixing file we altered by accident
* Pytest Optimizations (#1465)
* Adding function to determin file changes from upstream via git
* updated test env function to properly skip when files are empty
* updating to use generated slug list
* fixing if statement
* added known slugs functionality to improve runtime
* updating slugs for using git repo
* adding final changes
* updating library url to be correct
* Update master-slugs.yml
* commit to force pr merge (#1466)
* Pytest pr (#1467)
* commit to force pr merge
* commit to force pr merge
* Update master-slugs.yml
* Regenerate master slug list after successful PR merge
* Update master-slugs.yml
* fianl changes to new master slug workflow (#1468)
* Final pr test (#1469)
* fianl changes to new master slug workflow
* trying new branch push
* changing to myself (#1470)
* testing permission on github_token
* testing permission on github_token
* testing permission on github_token
---------
Co-authored-by: NetBox Bot <info@netboxlabs.com>
* Pytest Optimizations (#1465)
* Adding function to determin file changes from upstream via git
* updated test env function to properly skip when files are empty
* updating to use generated slug list
* fixing if statement
* added known slugs functionality to improve runtime
* updating slugs for using git repo
* adding final changes
* updating library url to be correct
* Update master-slugs.yml
* commit to force pr merge (#1466)
* Pytest pr (#1467)
* commit to force pr merge
* commit to force pr merge
* Update master-slugs.yml
* Regenerate master slug list after successful PR merge
* Update master-slugs.yml
* fianl changes to new master slug workflow (#1468)
* Final pr test (#1469)
* fianl changes to new master slug workflow
* trying new branch push
* changing to myself (#1470)
* testing permission on github_token
* testing permission on github_token
---------
Co-authored-by: NetBox Bot <info@netboxlabs.com>
* broke component validation out to its own function. Adding logic for validating device power input.
* Added console-port poe true for adapters. Updating devices to add proper power sources.
* Adding switches to allow for tests to properly determine POE status.
* Fixing files with missing power definitions.
* breaking out tests for easier usage
* refactoring codebase
* Added verification for properly formatted slug and fixed definitions that were incorrect
* Adding new test case to ensure the file name matches either the slug or the part_number
* fixed file names to match proper formatting
* Re-add front/rear images following new location & filename conventions
* Renamed following exact match slug convention
* Debug test failing
* Different log msg
* More debug
* Filter on startswith(slug)
* Debug
* Quotes
* Updated filter
* Match on string part
* Fix float validation using decimal.Decimal
* Force string repr of the float when loading yaml
---------
Co-authored-by: Jonathan Senecal <jonathan.senecal@metrooptic.com>