projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bug 1841: LTS Support Helm
[osm/devops.git]
/
installers
/
charm
/
prometheus
/
tests
/
test_charm.py
diff --git
a/installers/charm/prometheus/tests/test_charm.py
b/installers/charm/prometheus/tests/test_charm.py
index
66e199d
..
687c38a
100644
(file)
--- a/
installers/charm/prometheus/tests/test_charm.py
+++ b/
installers/charm/prometheus/tests/test_charm.py
@@
-47,6
+47,8
@@
class TestCharm(unittest.TestCase):
"site_url": "https://prometheus.192.168.100.100.nip.io",
"cluster_issuer": "vault-issuer",
"enable_web_admin_api": False,
"site_url": "https://prometheus.192.168.100.100.nip.io",
"cluster_issuer": "vault-issuer",
"enable_web_admin_api": False,
+ "web_config_username": "admin",
+ "web_config_password": "1234",
}
self.harness.update_config(self.config)
}
self.harness.update_config(self.config)
@@
-77,6
+79,8
@@
class TestCharm(unittest.TestCase):
expected_result = {
"hostname": "prometheus",
"port": "9090",
expected_result = {
"hostname": "prometheus",
"port": "9090",
+ "user": "admin",
+ "password": "1234",
}
relation_id = self.harness.add_relation("prometheus", "mon")
}
relation_id = self.harness.add_relation("prometheus", "mon")