MCPcopy Create free account
hub / github.com/CPChain/chain / test_case_6

Function test_case_6

contracts/dpor/rnode/tests/test_rnode.py:215–225  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

213
214
215def test_case_6():
216 # test owner sets period
217 init()
218 contract_ins = get_contract()
219 print("before set")
220 print("period: ", contract_ins.functions.period().call())
221 print("setting...")
222 test_set_period(owner, contract_ins, 99)
223 time.sleep(20)
224 print("after set")
225 print("period: ", contract_ins.functions.period().call())
226
227
228def test_case_7():

Callers

nothing calls this directly

Calls 4

get_contractFunction · 0.85
test_set_periodFunction · 0.85
initFunction · 0.70
callMethod · 0.45

Tested by

no test coverage detected