Change activity to view to request 7 days data.

Cleaned up filters a bit so that if you want both templates
email and sms is passed.

Added mock assertion to test.
This commit is contained in:
Adam Shimali
2016-04-28 15:52:20 +01:00
parent 5572058e50
commit a627cf9002
7 changed files with 94 additions and 19 deletions
+1
View File
@@ -40,6 +40,7 @@ class Config(object):
DESKPRO_API_KEY = os.environ['DESKPRO_API_KEY']
DESKPRO_PERSON_EMAIL = os.environ['DESKPRO_PERSON_EMAIL']
DESKPRO_TEAM_ID = os.environ['DESKPRO_TEAM_ID']
ACTIVITY_STATS_LIMIT_DAYS = 7
EMAIL_DOMAIN_REGEXES = [
"gov\.uk",