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] Configure and write tests for application-overrides role
[oom/offline-installer.git]
/
ansible
/
roles
/
application-override
/
molecule
/
default
/
tests
/
test_default.py
1
import yaml
2
3
4
def test_override_file(host):
5
y = None
6
f = host.file("/override.yml")
7
assert f.exists
8
assert f.is_file
9
try:
10
y = yaml.safe_load(f.content)
11
except yaml.YAMLError:
12
assert False
13
assert y['global']['cacert'] == 'this is dummy server certificate value\n'