@mock.patch('tornado.ioloop.PeriodicCallback')
    def test_initialize_mutornadomon_raises_when_no_publisher_and_no_app(self, periodic_callback_mock):
        self.assertRaises(ValueError, initialize_mutornadomon,
                          io_loop=tornado.ioloop.IOLoop.current())
Test instrument_ioloop() setups monitoring and creates a PeriodicCallback
dataset/ETHPy150Open uber/mutornadomon/tests/test_config.py/TestInitializeMutornadomon.test_initialize_mutornadomon_raises_when_no_publisher_and_no_app