summaryrefslogtreecommitdiff
path: root/py-fake-service/app/adapter/tag.py
diff options
context:
space:
mode:
authorDuda Dornelles <ddornell@thoughtworks.com>2014-08-12 13:45:07 -0300
committerDuda Dornelles <ddornell@thoughtworks.com>2014-08-12 13:45:07 -0300
commitfa75c5ddd40d15f1ccbfc593d6f3ab0d50acaf9e (patch)
treed1cc1e76fff67d606a21221444bdf8b0261674a9 /py-fake-service/app/adapter/tag.py
parente7db94a986f411e1a86b9a6cc2af21a7e74e1fcf (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.py3
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