def METHOD_NAME(self):
    # The copy of six.py shipped with Ansible appears in a package whose
    # __path__ subsequently ends up empty, which prevents pkgutil from
    # finding its submodules. After ansible.compat.six is initialized in
    # the parent, attempts to execute six/__init__.py on the slave will
    # cause an attempt to request ansible.compat.six._six from the master.
    import six_brokenpkg
    stream = mock.Mock()
    stream.protocol.sent_modules = set()
    router = mock.Mock()
    router.stream_by_id = lambda n: stream
    msg = mitogen.core.Message(
        data=mitogen.core.b('six_brokenpkg._six'),
        reply_to=50,
    )
    msg.router = router
    responder = mitogen.master.ModuleResponder(router)
    responder._on_get_module(msg)
    self.assertEqual(1, len(router._async_route.mock_calls))
    self.assertEqual(1, responder.get_module_count)
    self.assertEqual(1, responder.good_load_module_count)
    self.assertEqual(0, responder.bad_load_module_count)
    call = router._async_route.mock_calls[0]
    msg, = call[1]
    self.assertEqual(mitogen.core.LOAD_MODULE, msg.handle)
    tup = msg.unpickle()
    self.assertIsInstance(tup, tuple)