aboutsummaryrefslogtreecommitdiff
path: root/tests/models/thl/question/test_user_info.py
blob: 5410d3571232b55ee60570d8e7d4a614295da660 (plain)
1
2
3
4
5
6
7
8
9
10
11
from __future__ import annotations

from generalresearch.models.thl.profiling.user_info import UserInfo


class TestUserInfo:

    def test_init(self, profiling_user_info_json: str):

        instance = UserInfo.model_validate_json(profiling_user_info_json)
        assert isinstance(instance, UserInfo)