def test_type_is_signed(self): """ `PKCS7.type_is_signed` returns `True` if the PKCS7 object is of the type *signed*. """ pkcs7 = load_pkcs7_data(FILETYPE_PEM, pkcs7Data) assert pkcs7.type_is_signed()