Skip to content

Commit

Permalink
Adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karp2601 authored and karp2601 committed Feb 20, 2024
1 parent d3f30bb commit c40de48
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Empty file modified scripts/scil_sh_to_aodf.py
100644 → 100755
Empty file.
15 changes: 15 additions & 0 deletions scripts/tests/test_search_keywords.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,18 @@
def test_help_option(script_runner):
ret = script_runner.run('scil_search_keywords.py', '--help')
assert ret.success


def test_no_verbose(script_runner):
ret = script_runner.run('scil_search_keywords.py', 'mti')
assert ret.success


def test_verbose_option(script_runner):
ret = script_runner.run('scil_search_keywords.py', 'mti', '-v')
assert ret.success


def test_not_find(script_runner):
ret = script_runner.run('scil_search_keywords.py', 'toto')
assert ret.success

0 comments on commit c40de48

Please sign in to comment.