2023-11-24 08:38:53.670335 - Error - 'Generator' object has no attribute 'random_num'
2023-11-24 08:38:53.672165 - Error - 程序错误信息:
Traceback (most recent call last):
File "/liuma/core/api/testcase.py", line 71, in loop_execute self.render_content(step)
File "/liuma/core/api/testcase.py", line 159, in render_content self.render_json(step, body, "body", pop_key)
File "/liuma/core/api/testcase.py", line 178, in render_json render_value = self.template.render()
File "/liuma/core/template.py", line 82, in render value = self.func_lib(name_args[0], *name_args[1:])
File "/liuma/tools/funclib/load_faker.py", line 24, in __call__ return getattr(self, name)(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/faker/proxy.py", line 105, in __getattr__ return getattr(self._factories[0], attr)
AttributeError: 'Generator' object has no attribute 'random_num'