sot / kadi

Chandra commands and events
https://sot.github.io/kadi
BSD 3-Clause "New" or "Revised" License
5 stars 3 forks source link

fix test on windows #286

Closed javierggt closed 1 year ago

javierggt commented 1 year ago

This fixes some test failures on windows.

Description

The following statement in the test

stop_date_2022_352 = stop_date_fixture_factory("2022:352")

causes the following error:

NotADirectoryError: [WinError 267] The directory name is invalid

The cause is the colon in the name, so this PR replaces the argument with an ISO date.

Interface impacts

None

Testing

Unit tests

Independent check of unit tests by [REVIEWER NAME]

Functional tests

No functional testing.