test/tool-option-parsing: switch from pytest to unittest
authorRan Benita <ran@unusedvar.com>
Mon, 7 Sep 2020 07:36:18 +0000 (10:36 +0300)
committerRan Benita <ran@unusedvar.com>
Tue, 8 Sep 2020 06:45:34 +0000 (09:45 +0300)
commitc621319e53a37ad05f8c8f3b5d09ab677039d058
treeff387878e9fa511bc2e35e6cf890130cf7dbba26
parentc8f309a2ded976e070be8b4f73573ccb6ea1a992
test/tool-option-parsing: switch from pytest to unittest

For me, installing pytest for libxkbcommon is a bit problematic, so I
end up skipping it which is not great.

Switch to unittest which is built in to Python. It's not as nice as
pytest but good enough in this case.

Note: I was too lazy to switch the plain asserts to unittest
assertions...

Signed-off-by: Ran Benita <ran@unusedvar.com>
test/tool-option-parsing.py