Revision ba5b8be64d2c68cddeeab923dcdf88c71959107b authored by Mehdi Bouaziz on 31 October 2022, 18:10:35 UTC, committed by Mehdi Bouaziz on 07 November 2022, 15:44:37 UTC
1 parent 3eccab6
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_014')
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 ...