systemd / package-notes

Tools to add packaging metadata to ELF files
16 stars 10 forks source link

tests: move back to pytest #23

Closed mrc0mmand closed 2 years ago

mrc0mmand commented 2 years ago

Oh well, in 8dae5747ba9b64b8c78794cffa52221b48ef428d I completely missed the fact the tests are already working via pytest, since I've never used it before, and blindly converted them to unittest instead. This realization came to me thanks to https://github.com/systemd/mkosi/pull/882#issuecomment-1016595462 and I agree with @keszybz that the code is much more readable with pytest (and drops a lot of boilerplate). So let's revert the change back.