Adding better documentation and more tests, but still missing tests for Scheduler

This commit is contained in:
Mitsuo Takaki
2016-05-01 00:41:33 -07:00
parent f254bddd0f
commit 072aed1024
5 changed files with 80 additions and 4 deletions

View File

@@ -20,6 +20,8 @@ class Configuration(object):
self.data = load(file(self.config_file, 'r'))
self.expectations = [Expectaction.create(expectation) for expectation
in self.data['endpoint']['expectation']]
for expectation in self.expectations:
self.logger.info('Registered expectation: %s' % (expectation,))
def evaluate(self):
"""Sends the request to the URL set in the configuration and executes