В
Size: a a a
В
В
В
В
В
В

Ф
EB
Ф
NV
K
СС
СС
NV
СС
NV
СС
def pytest_configure(config):
# executes on each worker and master
db = getmysqlconn()
config.db = db
if not hasattr(config, “slaveinput”):
# do some setup only once per run on master
def pytest_unconfigure(config):
# executes on each worker and master
config.db.connection.close()
if not hasattr(config, “slaveinput”):
# do some teardown only once per run on masterСС
NV