From 26d025a5d1861749271da56da839391b14768c94 Mon Sep 17 00:00:00 2001 From: Rafa de la Torre Date: Fri, 10 Mar 2017 13:15:50 +0100 Subject: [PATCH] Remove tests that no longer apply #206 --- .../cartodb_services/test/test_user_service.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/server/lib/python/cartodb_services/test/test_user_service.py b/server/lib/python/cartodb_services/test/test_user_service.py index 201a1de..f1b3598 100644 --- a/server/lib/python/cartodb_services/test/test_user_service.py +++ b/server/lib/python/cartodb_services/test/test_user_service.py @@ -90,19 +90,6 @@ class TestUserService(TestCase): self.redis_conn.zincrby('user:test_user:geocoder_here:success_responses:201506', '01', 400) assert us.used_quota(self.NOKIA_GEOCODER, date(2015, 6,1)) == 400 - @freeze_time("2015-06-01") - def test_should_account_for_wrongly_stored_non_padded_keys(self): - us = self.__build_user_service('test_user') - self.redis_conn.zincrby('user:test_user:geocoder_here:success_responses:201506', '1', 400) - assert us.used_quota(self.NOKIA_GEOCODER, date(2015, 6,1)) == 400 - - @freeze_time("2015-06-01") - def test_should_sum_amounts_from_both_key_formats(self): - us = self.__build_user_service('test_user') - self.redis_conn.zincrby('user:test_user:geocoder_here:success_responses:201506', '1', 400) - self.redis_conn.zincrby('user:test_user:geocoder_here:success_responses:201506', '01', 300) - assert us.used_quota(self.NOKIA_GEOCODER, date(2015, 6,1)) == 700 - @freeze_time("2015-06-15") def test_should_not_request_redis_twice_when_unneeded(self): class MockRedisWithCounter(MockRedis):