Commit e9bc361b authored by Hilal Ozdemir's avatar Hilal Ozdemir

merge with test branch

parents 3eca5d4c c87f6e7c
#!/usr/bin/env bats
@test "pull alpine from other node (with '--no-progress' option)" {
@test "pulling an image from another node (with '--no-progress' option) exits peacefully" {
run python -m beiran docker image pull alpine --no-progress
[ "$status" -eq 0 ]
}
@test "pulling a non-existing image (with '--no-progress' option) prints error message" {
run python -m beiran docker image pull a_non_existent_image --no-progress
[ "$status" -eq 0 ]
}
#!/usr/bin/env bats
@test "pull alpine from other node (with '--wait' and '--no-progress' options)" {
run python -m beiran docker image pull alpine --no-progress --wait
@test "pulling an image from another node (with '--wait' and '--no-progress' options) exits peacefully" {
run python -m beiran docker image pull alpine --wait --no-progress
[ "$status" -eq 0 ]
}
@test "pulling a non-existing image (with '--wait' and '--no-progress' options) prints error message" {
run python -m beiran docker image pull a_non_existent_image --wait --no-progress
[ "$status" -eq 0 ]
}
#!/usr/bin/env bats
@test "pull alpine from other node" {
@test "pulling an image from another node exits peacefully" {
run python -m beiran docker image pull alpine
[ "$status" -eq 0 ]
}
@test "pulling a non-existing image prints error message" {
run python -m beiran docker image pull a_non_existent_image
[ "$status" -eq 0 ]
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment