Migrate TestTypecheck to tezt
Rewrite the test case TestTypecheck in test_contract.py of pytest to the tezt.
Related to #3942 (closed)
Note: in the previous work of @jaiyalas , he chose the contracts inside tezt/contracts, but in the regression output of python tests,
the contracts coming from the "tests_pythons/contracts_x/x".
I changed the contracts target from tezt/contracts to tests_pythons/contracts_x for this test.
Reviews only the first 3 commits, other commits are regression outputs.
Hours:
- Coding: 3 hours (@lykimquyen did not count the time that @jaiyalas worked)
- Run regression tests: x
- Reviews:
Manually testing the MR
Checklist
-
Document the interface of any function added or modified (see the coding guidelines) -
Document any change to the user interface, including configuration parameters (see node configuration) -
Provide automatic testing (see the testing guide). -
For new features and bug fixes, add an item in the appropriate changelog ( docs/protocols/alpha.rstfor the protocol and the environment,CHANGES.rstat the root of the repository for everything else). -
Select suitable reviewers using the Reviewersfield below. -
Select as Assigneethe next person who should take action on that MR
Edited by lykimquyen