Skip to content

Commit 14dee77

Browse files
philipp-zettlauvipy
authored andcommitted
adjust tests
1 parent 493a1f2 commit 14dee77

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

t/unit/test_schedulers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -603,14 +603,14 @@ def test_CrontabSchedule_unicode(self):
603603
minute=3,
604604
hour=3,
605605
day_of_week=None,
606-
)) == '3 3 * * * (m/h/d/dM/MY) UTC'
606+
)) == '3 3 * * * (m/h/dM/MY/d) UTC'
607607
assert str(CrontabSchedule(
608608
minute=3,
609609
hour=3,
610610
day_of_week='tue',
611611
day_of_month='*/2',
612612
month_of_year='4,6',
613-
)) == '3 3 tue */2 4,6 (m/h/d/dM/MY) UTC'
613+
)) == '3 3 */2 4,6 tue (m/h/dM/MY/d) UTC'
614614

615615
def test_PeriodicTask_unicode_interval(self):
616616
p = self.create_model_interval(schedule(timedelta(seconds=10)))
@@ -621,7 +621,7 @@ def test_PeriodicTask_unicode_crontab(self):
621621
hour='4, 5',
622622
day_of_week='4, 5',
623623
))
624-
assert str(p) == """{0}: * 4,5 4,5 * * (m/h/d/dM/MY) UTC""".format(
624+
assert str(p) == """{0}: * 4,5 * * 4,5 (m/h/dM/MY/d) UTC""".format(
625625
p.name
626626
)
627627

0 commit comments

Comments
 (0)