Skip to content
Snippets Groups Projects
Unverified Commit c95b1661 authored by Daniel W. Anner's avatar Daniel W. Anner Committed by GitHub
Browse files

Implementing Test Updates (Slugs & File Names) (#1454)

* 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
parent 9c28b7b2
Branches
Tags
No related merge requests found
Showing
with 10 additions and 10 deletions
---
manufacturer: HPE
model: Aruba 6000-12G-POE4-2SFP 139W
slug: hpe-aruba-6000-12g-poe4-2sfp-139w
model: Aruba 6000-12G-POE4-2SFP
slug: hpe-aruba-6000-12g-poe4-2sfp
part_number: R8N89A
u_height: 1
is_full_depth: false
......
---
manufacturer: HPE
model: Aruba 6000-24G-POE4-4SFP 370W
slug: hpe-aruba-6000-24g-poe4-4sfp-370w
model: Aruba 6000-24G-POE4-4SFP
slug: hpe-aruba-6000-24g-poe4-4sfp
part_number: R8N87A
u_height: 1
is_full_depth: false
......
---
manufacturer: HPE
model: Aruba 6000-48G-POE4-4SFP 370W
slug: hpe-aruba-6000-48g-poe4-4sfp-370w
model: Aruba 6000-48G-POE4-4SFP
slug: hpe-aruba-6000-48g-poe4-4sfp
part_number: R8N85A
u_height: 1
is_full_depth: false
......
---
manufacturer: HPE
model: Aruba 6100-12G-POE4-2SFP+ 139W
slug: hpe-aruba-6100-12g-poe4-2sfpp-139w
model: Aruba 6100-12G-POE4-2SFP+
slug: hpe-aruba-6100-12g-poe4-2sfpp
part_number: JL679A
u_height: 1
is_full_depth: false
......
---
manufacturer: HPE
model: Aruba 6100-24G-POE4-4SFP+ 370W
slug: hpe-aruba-6100-24g-poe4-4sfpp-370w
model: Aruba 6100-24G-POE4-4SFP+
slug: hpe-aruba-6100-24g-poe4-4sfpp
part_number: JL677A
u_height: 1
is_full_depth: false
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment