grouped_sample = utils.group_by_weekday(sample_date)

self.assert...(grouped_sample, ...)
self.assert...(grouped_sample, ...)