Middle+
7
В каком порядке выполнятся фикстуры? import pytest @pytest.fixture(scope="session") def setup_api_logs(): print("A") @pytest.fixture(scope="module") def db_container(): print("B") @pytest.fixture(scope="function", autouse=True) def api_client(db_container): print("C") @pytest.fixture(scope="function") def auth_token(): print("D") def test_create_order(auth_token): assert True
Компании, где спрашивали
Mayflower