'L{twisted.web.client.WebClientContextFactory} is deprecated.  Importing
it displays a warning.'

def test_deprecated(self):

    self.assertEqual(len(self.warned), 1)
    [warning] = self.warned
    self.assertEqual(warning['category'], DeprecationWarning)
    self.assertEqual(warning['message'], getDeprecationWarningString(self.webClientContextFactory, Version('Twisted', 14, 0, 0), replacement=BrowserLikePolicyForHTTPS).replace(';', ':'))
