sofarocean / spotter-sd-parser

Open source tool for concatenating and parsing SD card data from Spotters
Apache License 2.0
9 stars 5 forks source link

Fix test errors - pre-existing output file and case-sensitive file extension #17

Closed randallpittman closed 9 months ago

randallpittman commented 1 year ago

When I ran the tests on my Linux machine I ran into the following errors:

  1. test_loc.py:21: displacement.csv existed (from a previous test case) so the assertion failed.
  2. test_sst.py:25: The assertion failed because the actual created file had a lowercase extension and self.outputfn had an uppercase (.CSV) extension.

This PR fixes these two errors.