Update conftest.py

This commit is contained in:
Andrei 2024-10-05 23:17:25 +03:00
parent 1c362b3a34
commit 1c45f8158d
1 changed files with 2 additions and 2 deletions

View File

@ -8,12 +8,12 @@ import pytest
@pytest.fixture(scope="function") @pytest.fixture(scope="function")
def delay_func(): def delay_func():
time.sleep(5) time.sleep(1)
@pytest.fixture(scope="class") @pytest.fixture(scope="class")
def delay_class(): def delay_class():
time.sleep(10) time.sleep(1)
@pytest.mark.usefixtures("delay_func") @pytest.mark.usefixtures("delay_func")