'A private key is removed for logging.'

def test_private_key_removed(self):

    key = dedent('\n                                                -----BEGIN    PRIVATE    KEY-----\n                                                MFDkDKSLDDSf\n                                                MFSENSITIVED\n                                                MDKODSFJOEWe\n                                                -----END    PRIVATE    KEY-----\n                                                ')
    self.assertEqual(dedent('\n                                                                -----BEGIN    PRIVATE    KEY-----\n                                                                MFDk...REMOVED...OEWe\n                                                                -----END    PRIVATE    KEY-----\n                                                                '), _remove_private_key(key))
