import pytest


@pytest.fixture()
def login():
    print("登陆")
    yield "say yes"
    print("logout")

@pytest.fixture()
def connectDB():
    print("链接数据库")
a91aedb08b47a5781aabc63f2498d6482145eda0
<mask token>

<mask token>


@pytest.fixture()
def login():
    print('登陆')
    yield 'say yes'
    print('logout')


<mask token>

<mask token>


@pytest.fixture()
def login():
    print('登陆')
    yield 'say yes'
    print('logout')


@pytest.fixture()
def connectDB():
    print('链接数据库')

import pytest


@pytest.fixture()
def login():
    print('登陆')
    yield 'say yes'
    print('logout')


@pytest.fixture()
def connectDB():
    print('链接数据库')

import pytest


@pytest.fixture()
def login():
    print("登陆")
    yield "say yes"
    print("logout")

@pytest.fixture()
def connectDB():
    print("链接数据库")