def test_validate_value(self):
    with pytest.raises(TypeError, match="case_1 argument must have a type <class 'dict'> not <class 'str'>"):
        _validate_value('case_1', 'a', dict)
    assert (_validate_value('case_2', 0, int) is None)
def test_validate_value(self):
    with pytest.raises(TypeError, match="case_1 argument must have a type <class 'dict'> not <class 'str'>"):
        _validate_value('case_1', 'a', dict)
    assert (_validate_value('case_2', 0, int) is None)