Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 3,844 for asset0 (0.1 sec)

  1. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildIdentityIntegrationTest.groovy

                    def rootComponent = rootProvider.get()
                    assert rootComponent.id.build.buildPath == ':'
                    assert rootComponent.id.build.name == ':'
                    assert rootComponent.id.build.currentBuild
                    assert rootComponent.id.projectPath == ':'
                    assert rootComponent.id.projectName == 'buildA'
                    assert rootComponent.id.buildTreePath == ':'
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 20:50:18 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py

    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert (
            '"deepLinking": false,' in response.text
        ), "overridden configs should be preserved"
        assert (
            '"deepLinking": true' not in response.text
        ), "overridden configs should not include the old value"
        assert (
            '"syntaxHighlight": false' not in response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/helpers_test.go

    	assert.Equal(t, "unknown", fmt.Sprintf("%v", acceptWithoutReq))
    }
    
    func TestLazyVerb(t *testing.T) {
    	assert.Equal(t, "unknown", fmt.Sprintf("%v", &lazyVerb{}))
    
    	u, _ := url.Parse("?watch=true")
    	req := &http.Request{Method: "GET", URL: u}
    	verbWithReq := &lazyVerb{req: req}
    	assert.Equal(t, "WATCH", fmt.Sprintf("%v", verbWithReq))
    }
    
    func TestLazyApiGroup(t *testing.T) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Sep 03 15:25:35 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  4. tests/test_dependency_normal_exceptions.py

    
    def test_dependency_gets_exception():
        assert state["except"] is False
        assert state["finally"] is False
        response = client.put("/invalid-user/rick", json="Morty")
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "Invalid user"}
        assert state["except"] is True
        assert state["finally"] is True
        assert fake_database["rick"] == "Rick Sanchez"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/internal/model/ObjectFactoryIntegrationTest.groovy

                }
                container.register("b", ThingB) {
                    value = 1
                }
                assert container.size() == 2
                assert container[0] instanceof ThingA
                assert container[0].value.get() == 0
                assert container[1] instanceof ThingB
                assert container[1].value.get() == 1
            """
    
            expect:
            succeeds()
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun Apr 07 02:25:12 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  6. tests/test_default_response_class.py

        assert response.headers["content-type"] == orjson_type
    
    
    def test_router_a_a_override():
        with client:
            response = client.get("/a/a/override")
        assert response.content == b"Hello A A"
        assert response.headers["content-type"] == text_type
    
    
    def test_router_a_b():
        with client:
            response = client.get("/a/b")
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Mar 01 20:49:20 UTC 2020
    - 5.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py

    
    def test_swagger_ui():
        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert (
            '"syntaxHighlight": false' in response.text
        ), "syntaxHighlight should be included and converted to JSON"
        assert (
            '"dom_id": "#swagger-ui"' in response.text
        ), "default configs should be preserved"
        assert "presets: [" in response.text, "default configs should be preserved"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial006.py

        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
        response = client.get("/users/me")
        assert response.json() == {"detail": "Not authenticated"}
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == "Basic"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginIntegrationTest.groovy

                        assert maxPriority1Violations == 10
                        assert maxPriority2Violations == 50
                        assert maxPriority3Violations == 200
                        assert reports.enabled*.name == ["xml"]
                        assert reports.xml.outputLocation.asFile.get() == project.file("codenarc-reports/${sourceSet.name}.xml")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_security/test_tutorial006_an.py

        assert response.status_code == 200, response.text
        assert response.json() == {"username": "john", "password": "secret"}
    
    
    def test_security_http_basic_no_credentials():
        response = client.get("/users/me")
        assert response.json() == {"detail": "Not authenticated"}
        assert response.status_code == 401, response.text
        assert response.headers["WWW-Authenticate"] == "Basic"
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top