Skip to content

Commit

Permalink
test adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
konstntokas committed Jun 27, 2024
1 parent cc2d189 commit ce1153b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/test_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ def test_get_open_data_params_schema(self):
self.assertEqual(1, len(w))
warn_msg = (
f"The data ID '{self.data_id_netcdf}' contains the formats "
"['geotiff', 'netcdf']. Please, do not specify 'opener_id' as "
"['geotiff' 'netcdf']. Please, do not specify 'opener_id' as "
"multiple openers will be used."
)
self.assertEqual(warn_msg, str(w[-1].message))
Expand Down
2 changes: 1 addition & 1 deletion xcube_stac/store.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def get_open_data_params_schema(
formats = _get_formats_from_item(item)
if len(formats) != 1:
warnings.warn(
f"The data ID '{data_id}' contains the formats {list(formats)}. "
f"The data ID '{data_id}' contains the formats {formats}. "
"Please, do not specify 'opener_id' as multiple openers "
"will be used."
)
Expand Down

0 comments on commit ce1153b

Please sign in to comment.