List of all members.
Definition at line 269 of file test_calendar.py.
Member Function Documentation
Definition at line 277 of file test_calendar.py.
00278 def check_weeks(self, year, month, weeks):
00279 cal = calendar.monthcalendar(year, month)
00280 self.assertEqual(len(cal), len(weeks))
00281 for i in range(len(weeks)):
00282 self.assertEqual(weeks[i], sum(day != 0 for day in cal[i]))
Member Data Documentation
The documentation for this class was generated from the following file: