pycot
pycot copied to clipboard
Possible issues with element order
At this point in your test code, https://github.com/ampledata/pycot/blob/main/tests/test_cot.py#L82, parsed has a None point attribute, because point should precede detail with meta.order_sensitive=True. The assertEqual() specifically tests without the point element string. Did you mean to test meta.order_sensitive here?
I found an xsd file online, but I am uncertain whether meta.order_sensitive should be True for Event and Detail.