Revision 7227da6531c2e32c033e5687acefd8825f623c7c authored by Sylvain Ribstein on 20 April 2022, 13:20:30 UTC, committed by Thomas Letan on 21 April 2022, 12:42:28 UTC
1 parent 1ba0fc6
contract_paths.py
from os import path
from typing import List
from tools import paths
def all_contracts(directories: List[str] = None) -> List[str]:
return paths.all_contracts(CONTRACT_PATH, directories)
def all_legacy_contracts() -> List[str]:
return all_contracts(['legacy'])
CONTRACT_PATH = path.join(paths.TEZOS_HOME, 'tests_python', 'contracts_011')
ATTIC_CONTRACT_PATH = path.join(CONTRACT_PATH, 'attic')
MACROS_CONTRACT_PATH = path.join(CONTRACT_PATH, 'macros')
ILLTYPED_CONTRACT_PATH = path.join(CONTRACT_PATH, 'ill_typed')
LEGACY_CONTRACT_PATH = path.join(CONTRACT_PATH, 'legacy')
OPCODES_CONTRACT_PATH = path.join(CONTRACT_PATH, 'opcodes')
MINI_SCENARIOS_CONTRACT_PATH = path.join(CONTRACT_PATH, 'mini_scenarios')
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...