* Adding --all switch to the pre-commit check
* Adding test code to verify component positions are not the same for similar modules
* Adding code to validate component names and duplicate positions. This was discovered in issue #1584
* Reverting accidental change to pre-commit-config.yaml
* Update SDU-5000.yml
Reverting testing change
* Update device_types.py
Removed un-needed import
* 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