Remove pytz

Change-Id: Ieb1f4d484ead3bf77293499fa931b5e2772d6f39
This commit is contained in:
Hongbin Lu 2025-02-10 06:03:44 +00:00
parent af65475776
commit 08ede38ca0

View File

@ -14,12 +14,10 @@ Utils for testing the API service.
"""
import datetime
import pytz
def zservice_get_data(**kwargs):
"""Simulate what the RPC layer will get from DB """
faketime = datetime.datetime(2001, 1, 1, tzinfo=pytz.UTC)
faketime = datetime.datetime(2001, 1, 1, tzinfo=datetime.timezone.utc)
return {
'binary': kwargs.get('binary', 'fake-binary'),
'host': kwargs.get('host', 'fake-host'),