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:
32
InvenTree/part/fixtures/part.yaml
Normal file
32
InvenTree/part/fixtures/part.yaml
Normal 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
|
Reference in New Issue
Block a user