Skip to content

Commit

Permalink
test: Don't require complete marker on test methods
Browse files Browse the repository at this point in the history
  • Loading branch information
scop committed Jul 9, 2018
1 parent be3d073 commit 9d15992
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/t/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,8 @@ def diff_env(before: List[str], after: List[str], ignore: str):
@pytest.fixture(autouse=True)
def completion(request, bash: pexpect.spawn) -> CompletionResult:
marker = request.node.get_marker("complete")
if not marker:
return CompletionResult("", [])
skipif = marker.kwargs.get("skipif")
if skipif:
try:
Expand Down

0 comments on commit 9d15992

Please sign in to comment.