Python3:Pytest框架parametrize报错in "parametrize" the number of names (4)
排查原因:是pytest入参时,需要4个参数,但是提供了3个参数
test_tenant_list: - ["http://xx:8081/scheduler/v1/tenancy/list",{"content-type":"application/json;charset=UTF-8"},{"limit":"10000000","order":"","page":"1","sidx":""}]
解决办法:入参时提供4个参数即可解决