'A C{BadFingerPrintFormat} error is raised when unsupported
formats are requested.'

def test_fingerprintBadFormat(self):

    with self.assertRaises(keys.BadFingerPrintFormat) as em:
        keys.Key(self.rsaObj).fingerprint('sha256-base')
    self.assertEqual('Unsupported    fingerprint    format:    sha256-base', em.exception.args[0])
