tests: use pytest fixtures in gitcmds_test