Remove references to ChzzkApiResponseV1 in schema tests and update test cases to use ChzzkApiResponseV2
This commit is contained in:
parent
9ce324fd2d
commit
596769874f
1 changed files with 0 additions and 3 deletions
|
|
@ -4,7 +4,6 @@ from pathlib import Path
|
|||
import pydantic
|
||||
import pytest
|
||||
|
||||
from chzzk.schemas import ChzzkApiResponseV1
|
||||
from chzzk.schemas import ChzzkApiResponseV2
|
||||
|
||||
TESTS_DIR = Path(__file__).parent
|
||||
|
|
@ -13,7 +12,6 @@ TESTS_DIR = Path(__file__).parent
|
|||
@pytest.mark.parametrize(
|
||||
("fname", "data_model"),
|
||||
[
|
||||
("v1_905.json", ChzzkApiResponseV1),
|
||||
("v2_905.json", ChzzkApiResponseV2),
|
||||
],
|
||||
)
|
||||
|
|
@ -29,7 +27,6 @@ def test_chzzk_schema_strict(fname: str, data_model: type) -> None:
|
|||
("fname", "data_model"),
|
||||
[
|
||||
("v1_905.json", ChzzkApiResponseV2),
|
||||
("v2_905.json", ChzzkApiResponseV1),
|
||||
],
|
||||
)
|
||||
def test_chzzk_schema_cross_fail(fname: str, data_model: type) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue