Open kdeldycke opened 9 years ago
I like the general idea, but given that we're dealing with a public institution here (who are notorious for breaking things at random), I'm uncertain of whether or not not testing against them every time is a good idea.
Maybe we can add both tests:
pyvat
XML parsing.But make the first test fatal and the second one optional.
Unittests might fail if the VIES registry API is down. This happened to me in the last few weeks.
To prevent this failure, I mocked registries responses with the code:
Feel free to reuse it in
pyvat
if appropriate.