Closed BobBorges closed 11 months ago
The unit test passes locally. Here's evidence that it does what it's supposed to do (duplicated FAIL--
protocols with ID elems removed from the three elems we want to have IDs).
@BobBorges You probably want to add this to .github/workflows/push.yml too?
Here's a unit test to check all elements with text, (the expected ones
u
,seg
, andnote
, as well as any w/ anelem.text
value) have an ID attribute.167
I also found that
pyriksdagen.utils.elem_iter()
doesn't yieldseg
elements, so included here is an updated doc string and commented lines that look like they should returnseg
elems. Lets delete them fully when we know it doesn't break anything.