fixture(scope='function',params=None,autouse=False,ids=None,name=None):scope:设置作用域:params:传参数,以列表进行存储:autouse:默认False,设置为true时,方法运行时自动调用:ids:字符串id列表,设置后,控制台输出时展示:name:fixture所装饰的函数起别名,使用时,由原来调用函数名,变为别名:一.fixture的作用域scope:@pytest.fixture(scope=) ①funt