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