mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
911727f7b7
- Can't assume that pk values will be assigned sensibly! - Need to hard-code them in
46 lines
840 B
YAML
46 lines
840 B
YAML
# Tests for the top-level "chair" part
|
|
- model: part.parttesttemplate
|
|
pk: 1
|
|
fields:
|
|
part: 10000
|
|
test_name: Test strength of chair
|
|
|
|
- model: part.parttesttemplate
|
|
pk: 2
|
|
fields:
|
|
part: 10000
|
|
test_name: Apply paint
|
|
|
|
- model: part.parttesttemplate
|
|
pk: 3
|
|
fields:
|
|
part: 10000
|
|
test_name: Sew cushion
|
|
|
|
- model: part.parttesttemplate
|
|
pk: 4
|
|
fields:
|
|
part: 10000
|
|
test_name: Attach legs
|
|
|
|
- model: part.parttesttemplate
|
|
pk: 5
|
|
fields:
|
|
part: 10000
|
|
test_name: Record weight
|
|
required: false
|
|
|
|
# Add some tests for one of the variants
|
|
- model: part.parttesttemplate
|
|
pk: 6
|
|
fields:
|
|
part: 10003
|
|
test_name: Check that chair is green
|
|
required: true
|
|
|
|
- model: part.parttesttemplate
|
|
pk: 7
|
|
fields:
|
|
part: 10004
|
|
test_name: Check that chair is especially green
|
|
required: False |