~psivaa/core-selftest-agent/add-test-branch-conf

« back to all changes in this revision

Viewing changes to core_selftest_agent/__init__.py

  • Committer: Parameswaran Sivatharman
  • Date: 2015-05-26 18:39:53 UTC
  • Revision ID: para.siva@canonical.com-20150526183953-81giv84chy3t7dfd
pep8 and pyflakes

Show diffs side-by-side

added added

removed removed

Lines of Context:
29
29
from core_selftest_agent import constants
30
30
from core_selftest_agent.worker import CoreSelftestAgentWorker
31
31
 
 
32
logger = get_logger(__name__)
32
33
 
33
34
class CoreImageResultPublisher(object):
34
35
    """A callable that can notify a results exchange that the test is running
68
69
        queue.put(payload)
69
70
        queue.close()
70
71
 
 
72
 
71
73
def check_payload(payload):
72
74
    extra = constants.LOGGING_EXTRA.copy()
73
75
    extra.update(payload)