'L{printFingerprint} writes a line to standard out giving the number of
bits of the key, its fingerprint, and the basename of the file from it
was read.'

def test_printFingerprint(self):

    filename = self.mktemp()
    FilePath(filename).setContent(publicRSA_openssh)
    printFingerprint({'filename': filename, 'format': 'md5-hex'})
    self.assertEqual(self.stdout.getvalue(), '768    3d:13:5f:cb:c9:79:8a:93:06:27:65:bc:3d:0b:8f:af    temp\n')
