diff options
author | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-12 13:45:07 -0300 |
---|---|---|
committer | Duda Dornelles <ddornell@thoughtworks.com> | 2014-08-12 13:45:07 -0300 |
commit | fa75c5ddd40d15f1ccbfc593d6f3ab0d50acaf9e (patch) | |
tree | d1cc1e76fff67d606a21221444bdf8b0261674a9 /py-fake-service/app/adapter/tag.py | |
parent | e7db94a986f411e1a86b9a6cc2af21a7e74e1fcf (diff) |
marking mail as read in fake-service
Diffstat (limited to 'py-fake-service/app/adapter/tag.py')
-rw-r--r-- | py-fake-service/app/adapter/tag.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/py-fake-service/app/adapter/tag.py b/py-fake-service/app/adapter/tag.py index bc98669d..73103490 100644 --- a/py-fake-service/app/adapter/tag.py +++ b/py-fake-service/app/adapter/tag.py @@ -15,3 +15,6 @@ class Tag: def increment_count(self): self.counts['total'] += 1 + + def increment_read(self): + self.counts['read'] += 1 |