Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pythonpro/cohorts/tests/test_cohorts.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def test_cohort_end(cohort: Cohort, resp):

@pytest.fixture
def live_classes(cohort):
now = datetime.now()
now = datetime.utcnow()
return [
mommy.make(LiveClass, cohort=cohort, vimeo_id=str(i), start=now + timedelta(days=i)) for i in range(100, 105)
]
Expand Down Expand Up @@ -118,7 +118,7 @@ def test_live_classes_vimeo(resp_with_classes, live_classes):

@pytest.fixture
def webinars(cohort):
now = datetime.now()
now = datetime.utcnow()
return [
mommy.make(Webinar, cohort=cohort, vimeo_id=str(i), start=now + timedelta(days=i)) for i in range(100, 105)
]
Expand Down