Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
hejamu committed Mar 21, 2024
1 parent 67bdceb commit 37f4e27
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@ def test_case_insensitive(args):
"""Test for beeing case insensitive."""
subprocess.check_call(['mda', args, "-h"])

@pytest.mark.parametrize('args', ("RMSF", "rmsf"))
def test_case_insensitive_with_flags(args):
"""Test for module name being case insensitive with additional flags."""
# Check if it still works if the module name is not the second argument
subprocess.check_call(['mda', '--debug', args, "-h"])


def test_running_analysis(tmpdir):
"""Test running a complete analysis."""
Expand Down

0 comments on commit 37f4e27

Please sign in to comment.