

def test_ready_deferred(self):
    now = time.time()
    deferred = Deferred((now - 10), None)
    self.station.register_deferred(deferred)
    deferred.assertEqual(len(self.station.deferreds), 1)
    self.assertTrue(self.station.has_ready_deferreds())

dataset/ETHPy150Open richo/groundstation/test/test_station_deferred.py TestStationDeferreds.test_ready_deferred/VarMisuse@40/44 `self`->`deferred`