':py:meth:`X509ExtensionType.get_critical` returns the value of the
extension\'s critical flag.'

def test_get_critical(self):

    ext = X509Extension(b('basicConstraints'), True, b('CA:true'))
    self.assertTrue(ext.get_critical())
    ext = X509Extension(b('basicConstraints'), False, b('CA:true'))
    self.assertFalse(ext.get_critical())
