Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Trending: Remove unneeded tests from Dashboard
[csit.git]
/
resources
/
tools
/
presentation
/
specification_parser.py
diff --git
a/resources/tools/presentation/specification_parser.py
b/resources/tools/presentation/specification_parser.py
index
f994a59
..
c149e3e
100644
(file)
--- a/
resources/tools/presentation/specification_parser.py
+++ b/
resources/tools/presentation/specification_parser.py
@@
-112,6
+112,15
@@
class Specification(object):
"""
return self._specification["configuration"]["ignore"]
"""
return self._specification["configuration"]["ignore"]
+ @property
+ def alerting(self):
+ """Getter - Alerting.
+
+ :returns: Specification of alerts.
+ :rtype: dict
+ """
+ return self._specification["configuration"]["alerting"]
+
@property
def input(self):
"""Getter - specification - inputs.
@property
def input(self):
"""Getter - specification - inputs.
@@
-383,6
+392,12
@@
class Specification(object):
except KeyError:
self._specification["environment"]["build-dirs"] = None
except KeyError:
self._specification["environment"]["build-dirs"] = None
+ try:
+ self._specification["environment"]["testbeds"] = \
+ self._cfg_yaml[idx]["testbeds"]
+ except KeyError:
+ self._specification["environment"]["testbeds"] = None
+
logging.info("Done.")
def _parse_configuration(self):
logging.info("Done.")
def _parse_configuration(self):