from ddt import ddt,data
import unittest
@ddt
class Test(unittest.TestCase):
dicts = {"key1": "value1","key2": "value2","key3": "value3"}
@data(dicts)
def test_ddt_add(self, datas):
print("------------")
print(datas)
if name == "main":
unittest.main()