Skip to content

Commit

Permalink
Update existing unit tests for show_dataset_types
Browse files Browse the repository at this point in the history
  • Loading branch information
leeskelvin committed Feb 18, 2025
1 parent eaadbb1 commit f794ede
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tests/test_cliCmdQueryCollections.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,14 @@ def command():

def test_minimal(self):
"""Test only required parameters, and omit optional parameters."""
self.run_test(["query-collections", "here", "--chains", "TABLE"], self.makeExpected(repo="here"))
self.run_test(
["query-collections", "here", "--chains", "TABLE"],
self.makeExpected(
repo="here",
show_dataset_types=False,
exclude_dataset_types=("*_config", "*_log", "*_metadata", "packages"),
),
)

def test_all(self):
"""Test all parameters"""
Expand All @@ -82,6 +89,10 @@ def test_all(self):
glob=("foo*",),
collection_type=(CollectionType.TAGGED, CollectionType.RUN),
chains="TABLE",
show_dataset_types=False,
exclude_dataset_types=("*_config", "*_log", "*_metadata", "packages"),
),
)
),
)

Expand Down

0 comments on commit f794ede

Please sign in to comment.