Skip to content

Commit 9cfdbb8

Browse files
committed
Address the comments
1 parent 890557a commit 9cfdbb8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tests/test_identity_map_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ def assert_unmapped(self, response, reason, dii):
174174
self.assertIsNone(mapped_identity)
175175

176176
def test_identity_buckets(self):
177-
response = self.identity_map_client.get_identity_buckets(datetime.datetime.now() - datetime.timedelta(days=2))
177+
response = self.identity_map_client.get_identity_buckets(datetime.datetime.now() - datetime.timedelta(days=90))
178178
self.assertTrue(len(response.buckets) > 0)
179179
self.assertTrue(response.is_success)
180180

uid2_client/identity_map_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from .identity_buckets_response import IdentityBucketsResponse
77
from .identity_map_response import IdentityMapResponse
88

9-
from uid2_client import auth_headers, make_v2_request, post, parse_v2_response, get_datetime_iso_format
9+
from uid2_client import auth_headers, make_v2_request, post, parse_v2_response
1010

1111

1212
class IdentityMapClient:

uid2_client/input_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,4 +119,4 @@ def normalize_and_hash_email(email):
119119
def normalize_and_hash_phone(phone):
120120
if not is_phone_number_normalized(phone):
121121
raise ValueError("phone number is not normalized: " + phone)
122-
return get_base64_encoded_hash(phone)
122+
return get_base64_encoded_hash(phone)

0 commit comments

Comments
 (0)