def test_schedule(self):
    d = self.schedule()
    result = self.loads(json.dumps(d))
    d.pop('__type__')
    self.assertEqual(result, schedule(run_every=60))
def test_schedule(self):
    d = self.schedule()
    result = self.loads(json.dumps(d))
    d.pop('__type__')
    self.assertEqual(result, schedule(run_every=60))