Order data in xml integration test (#59742)
A recent update to lxml for Python >= 3.6 now preserves key order. Change the test input so the input is sorted, making tests pass on previous versions of lxml as well as the latest version.
This commit is contained in:
parent
2bc0eecdb3
commit
19299f3310
1 changed files with 4 additions and 4 deletions
|
@ -11,12 +11,12 @@
|
||||||
xpath: /business/beers
|
xpath: /business/beers
|
||||||
set_children: &children
|
set_children: &children
|
||||||
- beer:
|
- beer:
|
||||||
name: 90 Minute IPA
|
|
||||||
alcohol: "0.5"
|
alcohol: "0.5"
|
||||||
|
name: 90 Minute IPA
|
||||||
_:
|
_:
|
||||||
- Water:
|
- Water:
|
||||||
quantity: 200g
|
|
||||||
liter: "0.2"
|
liter: "0.2"
|
||||||
|
quantity: 200g
|
||||||
- Starch:
|
- Starch:
|
||||||
quantity: 10g
|
quantity: 10g
|
||||||
- Hops:
|
- Hops:
|
||||||
|
@ -24,12 +24,12 @@
|
||||||
- Yeast:
|
- Yeast:
|
||||||
quantity: 20g
|
quantity: 20g
|
||||||
- beer:
|
- beer:
|
||||||
name: Harvest Pumpkin Ale
|
|
||||||
alcohol: "0.3"
|
alcohol: "0.3"
|
||||||
|
name: Harvest Pumpkin Ale
|
||||||
_:
|
_:
|
||||||
- Water:
|
- Water:
|
||||||
quantity: 200g
|
|
||||||
liter: "0.2"
|
liter: "0.2"
|
||||||
|
quantity: 200g
|
||||||
- Hops:
|
- Hops:
|
||||||
quantity: 25g
|
quantity: 25g
|
||||||
- Yeast:
|
- Yeast:
|
||||||
|
|
Loading…
Reference in a new issue