Skip to content

Commit 9be8bc4

Browse files
chore: update test infrastructure from dev branch
1 parent 0f38b61 commit 9be8bc4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/conftest.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
mock_event = [{'colorId': "10",
2020
'created': '2018-12-31T09:20:32.000Z',
2121
'creator': {'email': 'matthew.lemon@gmail.com'},
22-
'e': datetime(2019, 1, 8, 15, 15, tzinfo=tzlocal()),
23-
'end': {'dateTime': '2019-01-08T15:15:00Z'},
22+
'e': datetime.now(tzlocal()) + timedelta(hours=1),
23+
'end': {'dateTime': (datetime.now(tzlocal()) + timedelta(hours=1)).isoformat()},
2424
'etag': '"3092496064420000"',
2525
'gcalcli_cal': {'accessRole': 'owner',
2626
'backgroundColor': '#4986e7',
@@ -46,9 +46,9 @@
4646
'email': 'tst@group.google.com',
4747
'self': True},
4848
'reminders': {'useDefault': True},
49-
's': datetime(2019, 1, 8, 14, 15, tzinfo=tzlocal()),
49+
's': datetime.now(tzlocal()),
5050
'sequence': 0,
51-
'start': {'dateTime': '2019-01-08T14:15:00Z'},
51+
'start': {'dateTime': datetime.now(tzlocal()).isoformat()},
5252
'status': 'confirmed',
5353
'summary': 'Test Event',
5454
'updated': '2018-12-31T09:20:32.210Z'}]

0 commit comments

Comments
 (0)