'L{SSHPublicKeyDatabase} is deprecated as of version 15.0'

def test_deprecated(self):

    warningsShown = self.flushWarnings(offendingFunctions=[self.setUp])
    self.assertEqual(warningsShown[0]['category'], DeprecationWarning)
    self.assertEqual(warningsShown[0]['message'], 'twisted.conch.checkers.SSHPublicKeyDatabase    was    deprecated    in    Twisted    15.0.0:    Please    use    twisted.conch.checkers.SSHPublicKeyChecker,    initialized    with    an    instance    of    twisted.conch.checkers.UNIXAuthorizedKeysFiles    instead.')
    self.assertEqual(len(warningsShown), 1)
