Skip to content

Commit

Permalink
Fix coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
svlandeg committed Sep 17, 2024
1 parent 4877a0a commit 1fcc472
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_completion/test_completion_option_colon.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@
from . import colon_example as mod


def test_script():
result = subprocess.run(
[sys.executable, "-m", "coverage", "run", mod.__file__, "--name", "DeadPool"],
capture_output=True,
encoding="utf-8",
)
assert result.returncode == 0
assert "DeadPool" in result.stdout


def test_completion_colon_bash_all():
result = subprocess.run(
[sys.executable, "-m", "coverage", "run", mod.__file__, " "],
Expand Down

0 comments on commit 1fcc472

Please sign in to comment.