'L{printFigerprint} will print key fingerprint in
L{FingerprintFormats.SHA256-BASE64} format if explicitly specified.'

def test_printFingerprintsha256(self):

    filename = self.mktemp()
    FilePath(filename).setContent(publicRSA_openssh)
    printFingerprint({'filename': filename, 'format': 'sha256-base64'})
    self.assertEqual(self.stdout.getvalue(), '768    ryaugIFT0B8ItuszldMEU7q14rG/wj9HkRosMeBWkts=    temp\n')
