Skip to content

Commit e89c9ca

Browse files
authored
Remore coming from fuzzy start date (#5407)
* Remore coming from fuzzy start date * tests
1 parent 0e521aa commit e89c9ca

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

courses/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def enrollment_text(self):
144144
if not course_run or not course_run.start_date:
145145
promised_run = self.get_promised_run()
146146
if promised_run:
147-
return "Coming " + promised_run.fuzzy_start_date
147+
return promised_run.fuzzy_start_date
148148
else:
149149
return "Not available"
150150

courses/models_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ def test_course_fuzzy_start_date(self):
333333
enrollment_start=None,
334334
enrollment_end=None,
335335
)
336-
assert self.course.enrollment_text == 'Coming Fall 2017'
336+
assert self.course.enrollment_text == 'Fall 2017'
337337

338338
def test_url_with_no_run(self):
339339
"""Test course url with no course runs"""

0 commit comments

Comments
 (0)