1 |
metadata = Hash()
|
2 |
|
3 |
@construct
|
4 |
def seed():
|
5 |
metadata['operator'] = ctx.caller
|
6 |
metadata['test_date'] = (now + datetime.timedelta(days = -1))
|
7 |
|
8 |
@export
|
9 |
def t():
|
10 |
delta = now - metadata['test_date']
|
11 |
delta_seconds = (delta.seconds)
|
12 |
metadata['delta_seconds'] = delta_seconds
|
13 |
|
14 |
@export
|
15 |
def test(function_name : Any):
|
16 |
function_name() |
e30000000000000000000000000400000040000000733e00000065006400640164028d025a016403640484005a0265036400830164056406840083015a04650364008301650564079c0164086409840483015a06640a5300290bda0f636f6e5f63616c6c5f746573745f32da086d657461646174612902da08636f6e7472616374da046e616d65630000000000000000000000000400000043000000732200000074006a01740264013c00740374046a05640564038d011700740264043c006400530029064eda086f70657261746f72e9010000002901da0464617973da09746573745f64617465e9ffffffff2906da03637478da0663616c6c6572da0a5f5f6d65746164617461da036e6f77da086461746574696d65da0974696d6564656c7461a90072100000007210000000da00da045f5f5f5f04000000730400000000010a017212000000630000000000000000020000000300000043000000731e000000740074016401190018007d007c006a027d017c01740164023c006400530029034e7208000000da0d64656c74615f7365636f6e64732903720d000000720c000000da077365636f6e64732902da0564656c74617213000000721000000072100000007211000000da017409000000730600000000020c01060172160000002901da0d66756e6374696f6e5f6e616d65630100000000000000010000000100000043000000730a0000007c00830001006400530029014e721000000029017217000000721000000072100000007211000000da0474657374100000007302000000000272180000004e2907da0448617368720c0000007212000000da085f5f6578706f72747216000000da03416e7972180000007210000000721000000072100000007211000000da083c6d6f64756c653e0100000073080000000c03080510070601