2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-19 21:45:39 +00:00

Add fixtures to the part test

- Make development of further tests much easier
This commit is contained in:
Oliver Walters
2019-05-04 22:58:55 +10:00
parent d6285643b6
commit 6d803d48b5
3 changed files with 161 additions and 43 deletions

View File

@ -0,0 +1,32 @@
# Create some fasteners
- model: part.part
fields:
name: 'M2x4 LPHS'
description: 'M2x4 low profile head screw'
category: 8
- model: part.part
fields:
name: 'M3x12 SHCS'
description: 'M3x12 socket head cap screw'
category: 8
# Create some resistors
- model: part.part
fields:
name: 'R_2K2_0805'
description: '2.2kOhm resistor in 0805 package'
category: 2
- model: part.part
fields:
name: 'R_4K7_0603'
description: '4.7kOhm resistor in 0603 package'
category: 2
# Create some capacitors
- model: part.part
fields:
name: 'C_22N_0805'
description: '22nF capacitor in 0805 package'
category: 3