Replace nose2.main() with pytest.main().

Signed-off-by: Daniel Scheffler <danschef@gfz-potsdam.de>
3 jobs for enhancement/migrate_to_pytest in 4 minutes and 43 seconds (queued for 2 minutes and 35 seconds)