def test_rrule(self):
    r = rrule('MINUTELY', dtstart=datetime(2015, 12, 30, 12, 59, 22, tzinfo=timezone.utc), count=1)
    result = self.dumps(r)
    self.assertEqual(result, json.dumps(self.rrule()))
def test_rrule(self):
    r = rrule('MINUTELY', dtstart=datetime(2015, 12, 30, 12, 59, 22, tzinfo=timezone.utc), count=1)
    result = self.dumps(r)
    self.assertEqual(result, json.dumps(self.rrule()))