tests.documents package

Submodules

tests.documents.test_block module

tests.documents.test_certification module

class tests.documents.test_certification.TestCertification(methodName='runTest')

Bases: TestCase

test_certification_raw()
test_certifications_from_inline()
test_raw_self_certification()
test_revokation_from_inline()
test_revokation_from_signed_raw()
test_revokation_raw()
test_self_certification_from_inline()
tests.documents.test_certification.test_certification_equality()
tests.documents.test_certification.test_certification_inequality(pubkey, uid, block_id, currency)

tests.documents.test_document module

tests.documents.test_document.test_document_equality()
tests.documents.test_document.test_document_inequality(doc_kwargs, signature)

tests.documents.test_identity module

tests.documents.test_identity.test_identity_equality()
tests.documents.test_identity.test_identity_inequality(pubkey, uid, block_id, currency)

tests.documents.test_membership module

class tests.documents.test_membership.TestMembership(methodName='runTest')

Bases: TestCase

test_frominline()
test_fromraw()
test_fromraw_toraw()
tests.documents.test_membership.test_membership_equality()
tests.documents.test_membership.test_membership_inequality(issuer, memb_block_id, uid, idty_block_id, currency)

tests.documents.test_peer module

class tests.documents.test_peer.TestPeer(methodName='runTest')

Bases: TestCase

test_fromraw()
test_fromraw_toraw()
test_incorrect()

tests.documents.test_revocation module

tests.documents.test_revocation.test_revocation_equality()
tests.documents.test_revocation.test_revocation_inequality(pubkey, uid, block_id, currency)

tests.documents.test_transaction module

class tests.documents.test_transaction.TestTransaction(methodName='runTest')

Bases: TestCase

test_check_signature()
test_check_signatures()
test_compact_change()
test_fromcompact()
test_fromraw_toraw()
test_g1_test_tx_check_signatures()
test_inputsource_from_inline()
test_is_simple()
test_outputsource_from_inline()
test_outputsource_inline_condition()
test_reduce_base()
test_reduce_base_2()
test_transaction_document_generation()
test_transaction_equality()
test_unlock()

tests.documents.test_ws2p_heads module

class tests.documents.test_ws2p_heads.TestWS2PHeads(methodName='runTest')

Bases: TestCase

test_headv0()
test_ws2p_headv1()
test_ws2p_headv2()

Module contents