'Get an instance of the extended urllib and verify that the blacklist
handler still works, even when mixed with all the other handlers.'

@attr('moth')
def test_handler_order_pass(self):

    blocked_url = URL(get_moth_http('/abc/def/'))
    safe_url = URL(get_moth_http())
    cf.cf.save('non_targets', [blocked_url])
    settings = opener_settings.OpenerSettings()
    settings.build_openers()
    opener = settings.get_custom_opener()
    request = HTTPRequest(safe_url)
    request.url_object = safe_url
    request.cookies = True
    request.get_from_cache = False
    response = opener.open(request)
    self.assertEqual(response.code, 200)
    self.assertEqual(response.id, 1)
