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
No related branches found
No related tags found
No related merge requests found
Showing
with 19 additions and 19 deletions
--- ---
manufacturer: HPE manufacturer: HPE
model: Aruba 8320-24XF2C Back-to-Front model: Aruba 8360-24XF2C Back-to-Front
slug: hpe-aruba-8320-24xf2c-back-to-front slug: hpe-aruba-8360-24xf2c-back-to-front
part_number: JL711C part_number: JL711C
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: HPE manufacturer: HPE
model: Aruba 8360-24XF2C model: Aruba 8360-24XF2C Front-to-Back
slug: hpe-aruba-8360-24xf2c slug: hpe-aruba-8360-24xf2c-front-to-back
part_number: JL710C part_number: JL710C
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: HPE manufacturer: HPE
model: Aruba AP-505 model: Aruba IAP-505
slug: hpe-aruba-ap-505 slug: hpe-aruba-ap-505
part_number: AP-505 part_number: AP-505
u_height: 0 u_height: 0
......
--- ---
manufacturer: HPE manufacturer: HPE
model: Aruba 3200 model: Aruba MC 3200
slug: hpe-aruba-3200 slug: hpe-aruba-mc-3200
is_full_depth: false is_full_depth: false
u_height: 1 u_height: 1
interfaces: interfaces:
......
--- ---
manufacturer: HPE manufacturer: HPE
model: Aruba 3400 model: Aruba MC 3400
slug: hpe-aruba-3400 slug: hpe-aruba-mc-3400
is_full_depth: false is_full_depth: false
u_height: 1 u_height: 1
interfaces: interfaces:
......
--- ---
manufacturer: HPE manufacturer: HPE
model: 3100-16 v2 EI model: HP 3100-16 v2 EI
slug: hpe-3100-16-v2-ei slug: hpe-hp-3100-16-v2-ei
part_number: JD319B part_number: JD319B
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: HPE manufacturer: HPE
model: 3100-24 EI model: HP 3100-24 EI
slug: hpe-3100-24-ei slug: hpe-hp-3100-24-ei
part_number: JD320A part_number: JD320A
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: HPE manufacturer: HPE
model: 3100-24-PoE v2 EI model: HP 3100-24-PoE v2 EI
slug: hpe-3100-24-poe-v2-ei slug: hpe-hp-3100-24-poe-v2-ei
part_number: JD313B part_number: JD313B
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: HPE manufacturer: HPE
model: 3100-24 v2 EI model: HP 3100-24 v2 EI
slug: hpe-3100-24-v2-ei slug: hpe-hp-3100-24-v2-ei
part_number: JD320B part_number: JD320B
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: HPE manufacturer: HPE
model: 3100-8 v2 EI model: HP 3100-8 v2 EI
slug: hpe-3100-8-v2-ei slug: hpe-hp-3100-8-v2-ei
part_number: JD318B part_number: JD318B
u_height: 1 u_height: 1
is_full_depth: false 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