Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions tests/test_completion/test_completion_option_colon.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ def test_completion_colon_zsh_all():
},
)
assert "alpine\\\\:hello" in result.stdout
assert "fake image\\\\: for testing" in result.stdout
assert "alpine\\\\:latest" in result.stdout
assert "latest alpine image" in result.stdout
assert "nvidia/cuda\\\\:10.0-devel-ubuntu18.04" in result.stdout


Expand All @@ -94,7 +96,9 @@ def test_completion_colon_zsh_partial():
},
)
assert "alpine\\\\:hello" in result.stdout
assert "fake image\\\\: for testing" in result.stdout
assert "alpine\\\\:latest" in result.stdout
assert "latest alpine image" in result.stdout
assert "nvidia/cuda\\\\:10.0-devel-ubuntu18.04" not in result.stdout


Expand All @@ -110,7 +114,9 @@ def test_completion_colon_zsh_single():
},
)
assert "alpine\\\\:hello" in result.stdout
assert "fake image\\\\: for testing" in result.stdout
assert "alpine\\\\:latest" not in result.stdout
assert "latest alpine image" not in result.stdout
assert "nvidia/cuda\\\\:10.0-devel-ubuntu18.04" not in result.stdout


Expand All @@ -127,7 +133,9 @@ def test_completion_colon_powershell_all():
},
)
assert "alpine:hello" in result.stdout
assert "fake image: for testing" in result.stdout
assert "alpine:latest" in result.stdout
assert "latest alpine image" in result.stdout
assert "nvidia/cuda:10.0-devel-ubuntu18.04" in result.stdout


Expand All @@ -144,7 +152,9 @@ def test_completion_colon_powershell_partial():
},
)
assert "alpine:hello" in result.stdout
assert "fake image: for testing" in result.stdout
assert "alpine:latest" in result.stdout
assert "latest alpine image" in result.stdout
assert "nvidia/cuda:10.0-devel-ubuntu18.04" not in result.stdout


Expand All @@ -161,7 +171,9 @@ def test_completion_colon_powershell_single():
},
)
assert "alpine:hello" in result.stdout
assert "fake image: for testing" in result.stdout
assert "alpine:latest" not in result.stdout
assert "latest alpine image" not in result.stdout
assert "nvidia/cuda:10.0-devel-ubuntu18.04" not in result.stdout


Expand All @@ -178,7 +190,9 @@ def test_completion_colon_pwsh_all():
)

assert "alpine:hello" in result.stdout
assert "fake image: for testing" in result.stdout
assert "alpine:latest" in result.stdout
assert "latest alpine image" in result.stdout
assert "nvidia/cuda:10.0-devel-ubuntu18.04" in result.stdout


Expand All @@ -195,7 +209,9 @@ def test_completion_colon_pwsh_partial():
},
)
assert "alpine:hello" in result.stdout
assert "fake image: for testing" in result.stdout
assert "alpine:latest" in result.stdout
assert "latest alpine image" in result.stdout
assert "nvidia/cuda:10.0-devel-ubuntu18.04" not in result.stdout


Expand All @@ -212,7 +228,9 @@ def test_completion_colon_pwsh_single():
},
)
assert "alpine:hello" in result.stdout
assert "fake image: for testing" in result.stdout
assert "alpine:latest" not in result.stdout
assert "latest alpine image" not in result.stdout
assert "nvidia/cuda:10.0-devel-ubuntu18.04" not in result.stdout


Expand Down
Loading