templates.minimal
1import smartpy as sp 2 3 4@sp.module 5def main(): 6 class MyContract(sp.Contract): 7 def __init__(self): 8 pass 9 10 @sp.entrypoint 11 def entrypoint_1(self): 12 pass 13 14 15@sp.add_test() 16def test(): 17 scenario = sp.test_scenario("Minimal", main) 18 scenario.h1("Minimal") 19 c1 = main.MyContract() 20 scenario += c1