def test_enqueue_periodic(self):
        with warnings.catch_warnings(record=True) as w:
            # Enable all warnings
            warnings.simplefilter("always")
            job = self.scheduler.enqueue_periodic(datetime.utcnow(), 1, None, say_hello)
            self.assertEqual(1, len(w))
            self.assertEqual(w[0].category, DeprecationWarning)
Function to get an RSA key from the specified file for Paramiko.
dataset/ETHPy150Open ui/rq-scheduler/tests/test_scheduler.py/TestScheduler.test_enqueue_periodic--crossover with--dataset/ETHPy150Open praekelt/python-sshtail/sshtail/utils.py/load_rsa_key