2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +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

@ -0,0 +1,31 @@
# Create some locations for stock
- model: stock.stocklocation
pk: 1
fields:
name: 'Home'
description: 'My house'
- model: stock.stocklocation
pk: 2
fields:
name: 'Bathroom'
description: 'Where I keep my bath'
parent: 1
- model: stock.stocklocation
pk: 3
fields:
name: 'Dining Room'
description: 'A table lives here'
parent: 1
- model: stock.stocklocation
pk: 4
fields:
name: 'Office'
description: 'Place of work'
- model: stock.stocklocation
pk: 5
fields:
name: 'Drawer'
description: 'In my desk'
parent: 4