':py:meth:`X509ExtensionType.get_short_name` returns a string giving the short
type name of the extension.'

def test_get_short_name(self):

    ext = X509Extension(b('basicConstraints'), True, b('CA:true'))
    self.assertEqual(ext.get_short_name(), b('basicConstraints'))
    ext = X509Extension(b('nsComment'), True, b('foo    bar'))
    self.assertEqual(ext.get_short_name(), b('nsComment'))
