]> git.ipfire.org Git - thirdparty/systemd.git/commit
test: use pytest.raises wrapper
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 9 Aug 2023 10:25:06 +0000 (12:25 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 9 Aug 2023 11:56:07 +0000 (13:56 +0200)
commit4d8c16b1667d32618955d991ca5c28faf6b2fb58
tree2046d3218e1f99c3683108c11afc36bf92d54026
parentca15b59f1f37cad54e82edb3042e8a035fc6ab18
test: use pytest.raises wrapper

This way we check that the appropriate exception is raised,
not just ignore it.

Follow-up for e3c04a5c84af5a39794a0a4963bc9916787aa5b4.
src/ukify/test/test_ukify.py