Merge pull request #337 from CartoDB/335-fix-test-date-no-padding-bug

Fix tests: zero-pad months in redis key #335
This commit is contained in:
Rafa de la Torre 2017-01-04 11:41:00 +01:00 committed by GitHub
commit 2ad9e508f5

View File

@ -22,7 +22,7 @@ class TestQuotaChecker(TestCase):
self.username,
self.service_type,
self.period_end_date.year,
self.period_end_date.month
self.period_end_date.strftime('%m')
)
def test_routing_quota_check_passes_when_enough_quota(self):