Remove pytz
Change-Id: Ieb1f4d484ead3bf77293499fa931b5e2772d6f39
This commit is contained in:
parent
af65475776
commit
08ede38ca0
@ -14,12 +14,10 @@ Utils for testing the API service.
|
|||||||
"""
|
"""
|
||||||
import datetime
|
import datetime
|
||||||
|
|
||||||
import pytz
|
|
||||||
|
|
||||||
|
|
||||||
def zservice_get_data(**kwargs):
|
def zservice_get_data(**kwargs):
|
||||||
"""Simulate what the RPC layer will get from DB """
|
"""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 {
|
return {
|
||||||
'binary': kwargs.get('binary', 'fake-binary'),
|
'binary': kwargs.get('binary', 'fake-binary'),
|
||||||
'host': kwargs.get('host', 'fake-host'),
|
'host': kwargs.get('host', 'fake-host'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user