Skip to content

Commit

Permalink
Make sure query-datasets complains if collection wildcard with find-f…
Browse files Browse the repository at this point in the history
…irst
  • Loading branch information
timj committed Sep 6, 2024
1 parent d56f382 commit 0915247
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_cliCmdQueryDatasets.py
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,9 @@ def testWhere(self):

self.assertAstropyTablesEqual(tables, expectedTables, filterColumns=True)

with self.assertRaises(RuntimeError):
self._queryDatasets(repo=self.repoDir, collections="*", find_first=True)

def testGlobDatasetType(self):
"""Test specifying dataset type."""
# Create and register an additional DatasetType
Expand Down

0 comments on commit 0915247

Please sign in to comment.