Code Review
/
oom
/
offline-installer.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
[MOLECULE] Add testinfra tests for nginx role
[oom/offline-installer.git]
/
ansible
/
roles
/
nginx
/
molecule
/
default
/
tests
/
test_default.py
1
def test_dir(host):
2
f = host.file('/cfg')
3
assert f.exists
4
assert f.is_directory
5
6
7
def test_simulated_hostname_file(host):
8
f = host.file('/cfg/nginx.conf')
9
assert f.exists
10
11
12
def test_nginx_container(host):
13
c = host.docker('nginx-server')
14
assert c.is_running