def getRefreshIDs(self):
        ids = []
        for bucket in self.router.getLonelyBuckets():
            ids.append(random.randint(*bucket.range))
        return ids
Sets up the needed objects used throughout the test.
dataset/ETHPy150Open OpenBazaar/OpenBazaar-Server/dht/protocol.py/KademliaProtocol.getRefreshIDs--crossover with--dataset/ETHPy150Open log2timeline/dfvfs/tests/vfs/fake_file_entry.py/FakeFileEntryTest.setUp