Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for initOAuth (0.05 seconds)

  1. tests/test_swagger_ui_init_oauth.py

    
    client = TestClient(app)
    
    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        print(response.text)
        assert "ui.initOAuth" in response.text
        assert '"appName": "The Predendapp"' in response.text
        assert '"clientId": "the-foo-clients"' in response.text
    
    
    def test_response():
        response = client.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 09 10:54:05 GMT 2020
    - 718 bytes
    - Click Count (0)
  2. tests/test_swagger_ui_escape.py

            init_oauth={"clientId": "my-client", "appName": "My App"},
        )
        body = html.body.decode()
        assert '"clientId": "my-client"' in body
        assert '"appName": "My App"' in body
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 1.1K bytes
    - Click Count (0)
Back to Top