projects
/
osm
/
devops.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Jenkins refresh
[osm/devops.git]
/
installers
/
charm
/
prometheus
/
tests
/
__init__.py
diff --git
a/installers/charm/prometheus/tests/__init__.py
b/installers/charm/prometheus/tests/__init__.py
index
ca37e3b
..
446d5ce
100644
(file)
--- a/
installers/charm/prometheus/tests/__init__.py
+++ b/
installers/charm/prometheus/tests/__init__.py
@@
-27,7
+27,14
@@
import sys
import mock
import mock
+
+class OCIImageResourceErrorMock(Exception):
+ pass
+
+
sys.path.append("src")
oci_image = mock.MagicMock()
sys.path.append("src")
oci_image = mock.MagicMock()
+oci_image.OCIImageResourceError = OCIImageResourceErrorMock
sys.modules["oci_image"] = oci_image
sys.modules["oci_image"] = oci_image
+sys.modules["oci_image"].OCIImageResource().fetch.return_value = {}