'L{printFigerprint} raises C{keys.BadFingerprintFormat} when unsupported
formats are requested.'

def test_printFingerprintBadFingerPrintFormat(self):

    filename = self.mktemp()
    FilePath(filename).setContent(publicRSA_openssh)
    with self.assertRaises(BadFingerPrintFormat) as em:
        printFingerprint({'filename': filename, 'format': 'sha-base64'})
    self.assertEqual('Unsupported    fingerprint    format:    sha-base64', em.exception.args[0])
