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 16 additions and 14 deletions
--- ---
manufacturer: ADVA manufacturer: ADVA
model: XG480-100G-CFP2 model: FSP 150-XG480-100G-CFP2
slug: adva-xg480-100g-cfp2 slug: adva-fsp-150-xg480-100g-cfp2
part_number: 1078901003-01 part_number: 1078901003-01
u_height: 2 u_height: 2
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: ADVA manufacturer: ADVA
model: XG480-100G model: FSP 150-XG480-100G
slug: adva-xg480-100g slug: adva-fsp-150-xg480-100g
part_number: 1078901001-01 part_number: 1078901001-01
u_height: 2 u_height: 2
is_full_depth: false is_full_depth: false
......
--- ---
manufacturer: APC manufacturer: APC
model: SMX3000HV model: SMX3000HVNC
slug: apc-smx3000hv slug: apc-smx3000hvnc
part_number: SMX3000HV part_number: SMX3000HVNC
comments: APC Smart-UPS X, Line Interactive, 3000VA, Rack/tower convertible 4U, 208V-230V, 8x C13+1x C19 IEC, SmartSlot, Extended runtime comments: APC Smart-UPS X, Line Interactive, 3000VA, Rack/tower convertible 4U, 208V-230V, 8x C13+1x C19 IEC, SmartSlot, Extended runtime
u_height: 4 u_height: 4
is_full_depth: true is_full_depth: true
......
--- ---
manufacturer: Arista manufacturer: Arista
model: DCS-7048-T model: DCS-7048T-A
slug: arista-dcs-7048-t slug: arista-dcs-7048t-a
is_full_depth: true is_full_depth: true
u_height: 1 u_height: 1
interfaces: interfaces:
......
--- ---
manufacturer: Avocent manufacturer: Avocent
model: Cyclades TS-1000 model: Cyclades TS 1000
slug: avocent-cyclades-ts-1000 slug: avocent-cyclades-ts-1000
u_height: 1 u_height: 1
is_full_depth: false is_full_depth: false
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
manufacturer: Canon manufacturer: Canon
model: imageRUNNER ADVANCE C3520 model: imageRUNNER ADVANCE C3520
slug: canon-imagerunner-advance-c3520 slug: canon-imagerunner-advance-c3520
part_number: IR-ADV-C3520
u_height: 0 u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-3350-zz-CS-3500-enUV/)' comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-3350-zz-CS-3500-enUV/)'
power-ports: power-ports:
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
manufacturer: Canon manufacturer: Canon
model: imageRUNNER ADVANCE C3530 III model: imageRUNNER ADVANCE C3530 III
slug: canon-imagerunner-advance-c3530-iii slug: canon-imagerunner-advance-c3530-iii
part_number: IR-ADV-C3530-III
u_height: 0 u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-3763-zz-CS-3500-enUS/)' comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-3763-zz-CS-3500-enUS/)'
power-ports: power-ports:
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
manufacturer: Canon manufacturer: Canon
model: imageRUNNER ADVANCE C3530 model: imageRUNNER ADVANCE C3530
slug: canon-imagerunner-advance-c3530 slug: canon-imagerunner-advance-c3530
part_number: IR-ADV-C3530
u_height: 0 u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-1814-zz-CS-3500-enUS/)' comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-1814-zz-CS-3500-enUS/)'
power-ports: power-ports:
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
manufacturer: Canon manufacturer: Canon
model: imageRunner ADVANCE DX C3720 model: imageRunner ADVANCE DX C3720
slug: canon-imagerunner-advance-dx-c3720 slug: canon-imagerunner-advance-dx-c3720
part_number: IR-ADV-C3720
u_height: 0 u_height: 0
comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-4706-zz-CS-3700-enUV)' comments: '[Color Laser Multifunctional](https://oip.manual.canon/USRMA-4706-zz-CS-3700-enUV)'
power-ports: power-ports:
......
--- ---
manufacturer: Cisco manufacturer: Cisco
model: uBR10012 model: uBR 10012
slug: cisco-ubr10012 slug: cisco-ubr-10012
u_height: 18 u_height: 18
is_full_depth: true is_full_depth: true
comments: '[Cisco uBR10012 Data Sheet](https://www.cisco.com/c/en/us/products/collateral/video/ubr10000-series-universal-broadband-routers/product_data_sheet09186a00801ed384.html)' comments: '[Cisco uBR10012 Data Sheet](https://www.cisco.com/c/en/us/products/collateral/video/ubr10000-series-universal-broadband-routers/product_data_sheet09186a00801ed384.html)'
......
...@@ -4,8 +4,6 @@ model: COL5141S ...@@ -4,8 +4,6 @@ model: COL5141S
slug: colable-col5141s slug: colable-col5141s
u_height: 1 u_height: 1
is_full_depth: true is_full_depth: true
comments: |
[Colable COL5141S product data](https://www.colable.com/Product/5817903943.html)
power-ports: power-ports:
- name: Power 1 - name: Power 1
type: iec-60320-c14 type: iec-60320-c14
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment