Signed-off-by: Ivan Schaller <ivan@schaller.sh>
This commit is contained in:
parent
873e6ab0e2
commit
7a7ace9286
4 changed files with 7 additions and 7 deletions
|
@ -8,13 +8,13 @@ from pytest import MonkeyPatch
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def wait_10s(_: MonkeyPatch):
|
||||
def wait_10s():
|
||||
print("sleeping 10 seconds because of api timeouts")
|
||||
time.sleep(10)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def wait_20s(_: MonkeyPatch):
|
||||
def wait_20s():
|
||||
print("sleeping 20 seconds because of api timeouts")
|
||||
time.sleep(20)
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ from mangadlp.metadata import validate_metadata, write_metadata
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def wait_20s(_: MonkeyPatch):
|
||||
def wait_20s():
|
||||
print("sleeping 20 seconds because of api timeouts")
|
||||
time.sleep(20)
|
||||
|
||||
|
|
|
@ -11,13 +11,13 @@ from mangadlp import app
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def wait_10s(_: MonkeyPatch):
|
||||
def wait_10s():
|
||||
print("sleeping 10 seconds because of api timeouts")
|
||||
time.sleep(10)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def wait_20s(_: MonkeyPatch):
|
||||
def wait_20s():
|
||||
print("sleeping 20 seconds because of api timeouts")
|
||||
time.sleep(20)
|
||||
|
||||
|
|
|
@ -8,13 +8,13 @@ from pytest import MonkeyPatch
|
|||
|
||||
|
||||
@pytest.fixture
|
||||
def wait_10s(_: MonkeyPatch):
|
||||
def wait_10s():
|
||||
print("sleeping 10 seconds because of api timeouts")
|
||||
time.sleep(10)
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def wait_20s(_: MonkeyPatch):
|
||||
def wait_20s():
|
||||
print("sleeping 20 seconds because of api timeouts")
|
||||
time.sleep(20)
|
||||
|
||||
|
|
Loading…
Reference in a new issue