"""pytest fixtures""" import os import pytest @pytest.fixture(scope='function') def typeexamples_nmea_path(): return os.path.join('test', 'data', 'typeexamples.nmea') @pytest.fixture(scope='function') def bare_nmea(): return """ $GPZDA,203003.00,12,07,2009,00,00,*47 !AIVDM,1,1,,B,23?up2001gGRju>Ap:;R2APP08:c,0*0E !BSVDM,1,1,,A,15Mj23`PB`o=Of>KjvnJg8PT0L2R,0*7E !SAVDM,1,1,,B,35Mj2p001qo@5tVKLBWmIDJT01:@,0*33 !AIVDM,1,1,,A,B5NWV1P0