Skip to content

Commit

Permalink
tests(tests/test_search): add a simple functional test for OptionEatAll
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-tong committed Jun 16, 2022
1 parent cddbe77 commit 0d94f4a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/test_search.py
Expand Up @@ -103,6 +103,10 @@ def test_search():
result = runner.invoke(search, ['mmcls', '--sort', 'epochs'])
assert result.exit_code == 0

# mim search mmcls --sort batch_size epochs
result = runner.invoke(search, ['mmcls', '--sort', 'batch_size', 'epochs'])
assert result.exit_code == 0

# mim search mmcls --field epoch
result = runner.invoke(search, ['mmcls', '--field', 'epoch'])
assert result.exit_code == 0
Expand Down

0 comments on commit 0d94f4a

Please sign in to comment.