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

Add tests for default location traversal

This commit is contained in:
Oliver Walters
2019-05-04 23:20:59 +10:00
parent 6d803d48b5
commit ab6673caa3
4 changed files with 64 additions and 2 deletions

View File

@ -23,10 +23,17 @@
name: 'R_4K7_0603'
description: '4.7kOhm resistor in 0603 package'
category: 2
default_location: 2 # Home/Bathroom
# Create some capacitors
- model: part.part
fields:
name: 'C_22N_0805'
description: '22nF capacitor in 0805 package'
category: 3
category: 3
- model: part.part
fields:
name: 'Widget'
description: 'A watchamacallit'
category: 7