fixing test
This commit is contained in:
parent
4a147a50b7
commit
30ef4e594f
|
@ -503,8 +503,8 @@ def test_allocate_bad_dates(user: UserClient):
|
||||||
""" Tests allocate """
|
""" Tests allocate """
|
||||||
snapshot, _ = user.post(file('basic.snapshot'), res=models.Snapshot)
|
snapshot, _ = user.post(file('basic.snapshot'), res=models.Snapshot)
|
||||||
device_id = snapshot['device']['id']
|
device_id = snapshot['device']['id']
|
||||||
delta = timedelta(days=30)
|
delay = timedelta(days=30)
|
||||||
future = datetime.now() + delta
|
future = datetime.now().replace(tzinfo=tzutc()) + delay
|
||||||
post_request = {"transaction": "ccc",
|
post_request = {"transaction": "ccc",
|
||||||
"finalUserCode": "aabbcc",
|
"finalUserCode": "aabbcc",
|
||||||
"name": "John",
|
"name": "John",
|
||||||
|
|
Reference in New Issue