[go: up one dir, main page]

py2ml: translate `TestScriptHashRegression` of `test_contract.py`

Context

Related: #3942 (closed)

This MR translates the test TestScriptHashRegression of test_contract.py to Tezt.

To ease review and to make the MR both backwards and future-proof w.r.t. the script location migration ongoing in #4008 (closed), this MR:

Translates the test, in a way that the regression trace of the pytest and tezt are very similar, to simplify review. i do not move the scripts from tests_python/contracts_NNN, instead i let tezt read scripts from those locations.

Once #4008 (closed) is fixed, we'll update this test to also take into consideration the set of scripts in michelson_test_scripts.

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 Arvid Jakobsson

Merge request reports

Loading