Update conftest.py
This commit is contained in:
parent
1c362b3a34
commit
1c45f8158d
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue