X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=doctor_tests%2Fconsumer%2Fbase.py;h=e21b08026eacd8ec59f71f8ed9ba54e0f60fad5e;hb=631c3f99f0e499edd1adcbc7550dd3d0de393e31;hp=35170748b80e1ddfc1fe6c005f46cb07cc3e254b;hpb=25759e0a0204765a7a9454d7586df66592e943c2;p=doctor.git diff --git a/doctor_tests/consumer/base.py b/doctor_tests/consumer/base.py index 35170748..e21b0802 100644 --- a/doctor_tests/consumer/base.py +++ b/doctor_tests/consumer/base.py @@ -16,6 +16,15 @@ class BaseConsumer(object): def __init__(self, conf, log): self.conf = conf self.log = log + self._notified_time = None + + @property + def notified_time(self): + return self._notified_time + + @notified_time.setter + def notified_time(self, notified_time): + self._notified_time = notified_time @abc.abstractmethod def start(self): @@ -23,4 +32,4 @@ class BaseConsumer(object): @abc.abstractmethod def stop(self): - pass \ No newline at end of file + pass