InvenTree/InvenTree/part/fixtures/test_templates.yaml
Oliver Walters 911727f7b7 Update test fixtures
- Can't assume that pk values will be assigned sensibly!
- Need to hard-code them in
2020-09-02 19:47:07 +10:00

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