[go: up one dir, main page]

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.rst for the protocol and the environment, CHANGES.rst at the root of the repository for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited by lykimquyen

Merge request reports

Loading