forked from Wavyzz/py-healthchecks.io
Revert "chore: ci fixups and poetry update"
This reverts commit d0b986025e.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
from datetime import datetime
|
||||
from typing import Dict
|
||||
from typing import Union
|
||||
|
||||
import pytest
|
||||
|
||||
@@ -9,7 +11,7 @@ from healthchecks_io.schemas import checks
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def fake_check_api_result() -> dict[str, str | int]:
|
||||
def fake_check_api_result() -> Dict[str, Union[str, int]]:
|
||||
yield {
|
||||
"name": "Test Check",
|
||||
"slug": "Test Check",
|
||||
@@ -31,7 +33,7 @@ def fake_check_api_result() -> dict[str, str | int]:
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def fake_check_ro_api_result() -> dict[str, str | int]:
|
||||
def fake_check_ro_api_result() -> Dict[str, Union[str, int]]:
|
||||
yield {
|
||||
"name": "Test Check",
|
||||
"slug": "Test Check",
|
||||
|
||||
Reference in New Issue
Block a user