Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for system (0.15 sec)

  1. tests/test_tutorial/test_security/test_tutorial005.py

    
    def test_read_system_status():
        access_token = get_access_token()
        response = client.get(
            "/status/", headers={"Authorization": f"Bearer {access_token}"}
        )
        assert response.status_code == 200, response.text
        assert response.json() == {"status": "ok"}
    
    
    def test_read_system_status_no_token():
        response = client.get("/status/")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top