Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_query_repr_number (0.18 sec)

  1. tests/test_params_repr.py

    def test_query_repr_ellipsis():
        assert repr(Query(...)) == IsOneOf(
            "Query(PydanticUndefined)",
            # TODO: remove when deprecating Pydantic v1
            "Query(Ellipsis)",
        )
    
    
    def test_query_repr_number():
        assert repr(Query(1)) == "Query(1)"
    
    
    def test_query_repr_list():
        assert repr(Query([])) == "Query([])"
    
    
    def test_header_repr_str():
        assert repr(Header("teststr")) == "Header(teststr)"
    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