

def test_unready_deferred(self):
    now = time.time()
    deferred = Deferred((now + 60), None)
    self.station.register_deferred(deferred)
    self.assertEqual(len(self.station.deferreds), 1)
    self.assertFalse(self.station.has_ready_deferreds())

dataset/ETHPy150Open richo/groundstation/test/test_station_deferred.py TestStationDeferreds.test_unready_deferred/original