Migrate to pytest.

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
3 jobs for enhancement/switch_to_pytest in 1 minute and 22 seconds (queued for 2 seconds)