Exemple #1
0
def pytest_generate_tests(metafunc):
    testutils.generate_test_params(
        'BlockchainTests',
        metafunc,
        skip_func=lambda filename, testname, _:
        (filename.split('/')[-1], testname) in skips,
        exclude_func=exclude,
    )
Exemple #2
0
def pytest_generate_tests(metafunc):
    testutils.generate_test_params(
        place_to_check,
        metafunc,
        exclude_func=lambda filename, _, __: (
            'stQuadraticComplexityTest' in filename or  # Takes too long
            'stMemoryStressTest' in filename or  # We run out of memory
            'MLOAD_Bounds.json' in filename or  # We run out of memory
            'failed_tx_xcf416c53' in filename
            or  # we know how to pass: force address 3 to get deleted. TODO confer with c++ best path foward.
            'RevertDepthCreateAddressCollision.json' in filename
            or  # we know how to pass: delete contract's code. Looks like c++ issue.
            'pairingTest.json' in filename  # definitely a c++ issue
        ))
Exemple #3
0
def pytest_generate_tests(metafunc):
    testutils.generate_test_params('ABITests', metafunc)
Exemple #4
0
def pytest_generate_tests(metafunc):
    testutils.generate_test_params('TransactionTests', metafunc)
Exemple #5
0
def pytest_generate_tests(metafunc):
    testutils.generate_test_params('KeyStoreTests', metafunc)