Example #1
0
 def test_sun(self):
     assert get_week(7) == u'星期天'
Example #2
0
 def test_fri(self):
     assert get_week(5) == u'星期五'
Example #3
0
 def test_sat(self):
     assert get_week(6) == u'星期六'
Example #4
0
 def test_thu(self):
     assert get_week(4) == u'星期四'
Example #5
0
 def test_wed(self):
     assert get_week(3) == u'星期三'
Example #6
0
 def test_tue(self):
     assert get_week(2) == u'星期二'
Example #7
0
 def test_mon(self):
     assert get_week(1) == u'星期一'
Example #8
0
 def test_all(self):
     assert get_week(0) == u'全部'