Skip to content
Snippets Groups Projects
Verified Commit ee426625 authored by Varac's avatar Varac
Browse files

Fix testinfra for Debian

parent d22ec930
No related branches found
No related tags found
No related merge requests found
def test_docker_is_installed(host):
docker = host.package("docker-ce")
assert docker.is_installed
assert docker.version.startswith("5:18.09.2")
assert docker.version.startswith("5:18.09")
def test_docker_running_and_enabled(host):
......
def test_release_is_bionic(host):
system_info = host.system_info
assert system_info.release == '18.04'
assert system_info.release == '9.8'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment