We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0e521aa commit e89c9caCopy full SHA for e89c9ca
courses/models.py
@@ -144,7 +144,7 @@ def enrollment_text(self):
144
if not course_run or not course_run.start_date:
145
promised_run = self.get_promised_run()
146
if promised_run:
147
- return "Coming " + promised_run.fuzzy_start_date
+ return promised_run.fuzzy_start_date
148
else:
149
return "Not available"
150
courses/models_test.py
@@ -333,7 +333,7 @@ def test_course_fuzzy_start_date(self):
333
enrollment_start=None,
334
enrollment_end=None,
335
)
336
- assert self.course.enrollment_text == 'Coming Fall 2017'
+ assert self.course.enrollment_text == 'Fall 2017'
337
338
def test_url_with_no_run(self):
339
"""Test course url with no course runs"""
0 commit comments