Skip to content

Commit

Permalink
DOC: add TODO statements
Browse files Browse the repository at this point in the history
Added TODO statements for new issues.

Co-authored-by: Russell Stoneback <[email protected]>
  • Loading branch information
aburrell and rstoneback authored Mar 12, 2024
1 parent ea2ff92 commit a2d7a3f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pysatMadrigal/tests/test_methods_general.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ def test_sort_file_format(self, caplog):
['hdf5', 'netCDF4', 'simple'])

# Evaluate the logger warning
# TODO(#101) Use pysat warnings test
assert len(caplog.records) == 1, "unexpected number of warnings"
assert caplog.records[0].levelname == "WARNING"
assert caplog.records[0].message.find(
Expand Down Expand Up @@ -357,6 +358,7 @@ def test_get_remote_filenames_bad_date_array(self):
"unknown date_array supplied", input_kwargs=self.kwargs)
return

# (TODO #102) Expand testing of pandas to xarray method below
def test_convert_pandas_to_xarray_bad_data_vars(self):
"""Test raises ValueError for unexpected date_array input."""
self.kwargs = [{('time', ): ['bad_var']}, pds.DataFrame([0]),
Expand Down
1 change: 1 addition & 0 deletions pysatMadrigal/tests/test_methods_gnss.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ def test_bad_file_type_warning(self, caplog):
gnss.load_los(self.bad_fnames, "site", "zzon")

# Test the logger warning
# TODO(#101) Use pysat eval warnings
assert len(caplog.records) == 2, "unexpected number of warnings"

for record in caplog.records:
Expand Down

0 comments on commit a2d7a3f

Please sign in to comment.