Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for test_depends_repr (0.11 sec)

  1. tests/test_params_repr.py

            "Body(Ellipsis)",
        )
    
    
    def test_body_repr_number():
        assert repr(Body(1)) == "Body(1)"
    
    
    def test_body_repr_list():
        assert repr(Body([])) == "Body([])"
    
    
    def test_depends_repr():
        assert repr(Depends()) == "Depends(NoneType)"
        assert repr(Depends(get_user)) == "Depends(get_user)"
        assert repr(Depends(use_cache=False)) == "Depends(NoneType, use_cache=False)"
        assert (
    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