'Verify that the blacklist handler works as expected'

def test_blacklist_handler_block(self):

    blocked_url = URL(get_moth_http('/abc/def/'))
    cf.cf.save('non_targets', [blocked_url])
    opener = urllib2.build_opener(BlacklistHandler)
    request = urllib2.Request(blocked_url.url_string)
    request.url_object = blocked_url
    response = opener.open(request)
    self.assertEqual(response.code, NO_CONTENT)
