This PR adds some test harnesses to the project using pytest. Current test is a basic top-level tests that just ensures that the binary and gpx output files match the samples directory when gopro2gpx is run.
To make it possible to inject the args during the tests, a shim layer was added that passes the args object to the main_core function. Additionally, the samples gpx files were updated to the current output from the tool (these looked pretty out of date).
This PR adds some test harnesses to the project using pytest. Current test is a basic top-level tests that just ensures that the binary and gpx output files match the samples directory when
gopro2gpx
is run.To make it possible to inject the args during the tests, a shim layer was added that passes the args object to the
main_core
function. Additionally, the samples gpx files were updated to the current output from the tool (these looked pretty out of date).