Skip to content

Commit

Permalink
Try again
Browse files Browse the repository at this point in the history
  • Loading branch information
hejamu committed Apr 2, 2024
1 parent 8d3e394 commit 6fc420f
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,15 @@
"""Test mdacli cli."""

import subprocess
import sys
from pathlib import Path

import pytest
from MDAnalysisTests.datafiles import TPR, XTC


tester_class = (Path('.').absolute() / 'tests/run_tester').as_posix()


def test_required_args():
"""Test that there is a module given."""
with pytest.raises(subprocess.CalledProcessError):
Expand Down Expand Up @@ -52,10 +55,6 @@ def test_running_analysis(tmpdir):
["mda", "rmsf", "-s", TPR, "-f", XTC, "-atomgroup", "all"]
)

if sys.platform == "win32":
tester_class = ".\tests\run_tester"
else:
tester_class = "./tests/run_tester"

def test_verbosity_level_warning(caplog):
"""Test the log level warning."""
Expand Down

0 comments on commit 6fc420f

Please sign in to comment.