Attempt run-time change of type annotations on model fields
This commit is contained in:
parent
15b7d360eb
commit
0f9f7aa868
2 changed files with 18 additions and 2 deletions
|
@ -6,7 +6,6 @@ from typing import List, Optional
|
|||
from unittest import mock
|
||||
|
||||
import pytest
|
||||
import redis
|
||||
from pydantic import ValidationError
|
||||
|
||||
from redis_developer.model import EmbeddedJsonModel, Field, JsonModel
|
||||
|
@ -528,7 +527,6 @@ def test_not_found(m):
|
|||
m.Member.get(1000)
|
||||
|
||||
|
||||
@pytest.mark.skip("Does not clean up after itself properly")
|
||||
def test_list_field_limitations(m):
|
||||
with pytest.raises(RedisModelError):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue