Attempt run-time change of type annotations on model fields

This commit is contained in:
Andrew Brookins 2021-10-21 13:12:54 -07:00
parent 15b7d360eb
commit 0f9f7aa868
2 changed files with 18 additions and 2 deletions

View file

@ -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):