Skip to content

Commit 0fe7f60

Browse files
martin056RadoRado
authored andcommitted
Fix gh action
1 parent 277304f commit 0fe7f60

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/django.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
run: python manage.py migrate
2929
- name: Run tests
3030
run: |
31-
pip install -r requirements/test.txt
31+
pip install -r requirements/tests.txt
3232
py.test -s styleguide_example/
3333
deploy_to_heroku:
3434
runs-on: ubuntu-latest

styleguide_example/test_examples/tests/selectors/test_school_list_school_courses.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def test_selector_returns_all_school_courses_for_a_given_start_date(self):
8888
def test_selector_returns_all_school_courses_for_a_given_period(self):
8989
school = SchoolFactory()
9090

91-
period_start = timezone.now()
91+
period_start = faker.date_object()
9292
period_end = period_start + timedelta(days=100)
9393

9494
started_school_course = SchoolCourseFactory(

0 commit comments

Comments
 (0)