Make the tests pass and header demotion work correctly!
Make the tests pass and header demotion work correctly!

Finding the solution took me forever.  The lxml.etree.ParseError was not
shown by the test suite.  I also couldn’t see it  on  manual  demo  site
builds before (it’s now obvious to me why this happened, I did not  have
an empty file that is created by the test suite)  I  had  to  *manually*
run the test case (as in, copy-paste  stuff  from  the  test_integration
module into a .py file and run it) to get the *PROPER*  traceback.   And
then everything became fairly obvious.  But I could’ve been  done  EIGHT
commits and  FIVE  hours  ago.   But  no,  tracebacks  cannot  be  sane.

/rant

cc @ralsina — you may want to look into it and tell me why that happens.

(just in case GitHub goes weird due to the mess I made: close #891)

Signed-off-by: Chris “Kwpolska” Warrick <de6f931166e131a07f31c96c765aee08f061d1a5@gmail.com>

lucacerone/nikola,getnikola/nikola,okin/nikola,okin/nikola,techdragon/nikola,getnikola/nikola,jjconti/nikola,jjconti/nikola,lucacerone/nikola,pluser/nikola,x1101/nikola,TyberiusPrime/nikola,JohnTroony/nikola,wcmckee/nikola,atiro/nikola,masayuko/nikola,techdragon/nikola,s2hc-johan/nikola,JohnTroony/nikola,xuhdev/nikola,yamila-moreno/nikola,techdragon/nikola,pluser/nikola,TyberiusPrime/nikola,yamila-moreno/nikola,immanetize/nikola,masayuko/nikola,TyberiusPrime/nikola,yamila-moreno/nikola,xuhdev/nikola,schettino72/nikola,immanetize/nikola,andredias/nikola,s2hc-johan/nikola,jjconti/nikola,berezovskyi/nikola,andredias/nikola,JohnTroony/nikola,atiro/nikola,gwax/nikola,atiro/nikola,xuhdev/nikola,x1101/nikola,okin/nikola,getnikola/nikola,schettino72/nikola,wcmckee/nikola,andredias/nikola,xuhdev/nikola,knowsuchagency/nikola,immanetize/nikola,getnikola/nikola,knowsuchagency/nikola,lucacerone/nikola,berezovskyi/nikola,berezovskyi/nikola,s2hc-johan/nikola,knowsuchagency/nikola,pluser/nikola,x1101/nikola,gwax/nikola,okin/nikola,wcmckee/nikola,schettino72/nikola,masayuko/nikola,gwax/nikola