14 lines
356 B
Python
14 lines
356 B
Python
import random
|
|
import libs.testium as tm
|
|
from libs.testium import FunctionItem
|
|
|
|
def random_value():
|
|
return random.random()
|
|
|
|
class LastValues(FunctionItem):
|
|
def exec(self, name):
|
|
res = tm.last_plot_value(name)
|
|
self.reportValue('my_reported_value', res)
|
|
print("Last plot value: {}".format(res))
|
|
return res
|