Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_cookie_repr_ellipsis (0.09 sec)

  1. tests/test_params_repr.py

    
    def test_cookie_repr_str():
        assert repr(Cookie("teststr")) == "Cookie(teststr)"
    
    
    def test_cookie_repr_none():
        assert repr(Cookie(None)) == "Cookie(None)"
    
    
    def test_cookie_repr_ellipsis():
        assert repr(Cookie(...)) == IsOneOf(
            "Cookie(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
            "Cookie(Ellipsis)",
        )
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
Back to top