Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Bla (0.02 sec)

  1. tests/test_jsonable_encoder.py

        }
        assert jsonable_encoder(model, include={"foo"}) == {"foo": "foo"}
        assert jsonable_encoder(model, exclude={"bla"}) == {"foo": "foo", "bar": "bar"}
        assert jsonable_encoder(model, include={}) == {}
        assert jsonable_encoder(model, exclude={}) == {
            "foo": "foo",
            "bar": "bar",
            "bla": "bla",
        }
    
    
    @needs_pydanticv1
    def test_custom_encoders():
        class safe_datetime(datetime):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 9K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/SelectOptionPromptEventTest.groovy

            expect:
            def result = event.convert(input)
            result.response == null
            result.newPrompt == "Please enter a value between 1 and 4: "
    
            where:
            input | _
            'bla' | ''
            '1s'  | ''
            '0'   | ''
            '5'   | ''
            '-1'  | ''
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/YesNoQuestionPromptEventTest.groovy

            expect:
            def result = event.convert(input)
            result.response == null
            result.newPrompt == "Please enter 'yes' or 'no': "
    
            where:
            input   | _
            ''      | _
            'bla'   | _
            'y'     | _
            'Y'     | _
            'ye'    | _
            'YES'   | _
            'n'     | _
            'N'     | _
            'NO'    | _
            'true'  | _
            'false' | _
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/BooleanQuestionPromptEventTest.groovy

            expect:
            def result = event.convert(input)
            result.response == null
            result.newPrompt == "Please enter 'yes' or 'no' (default: 'yes'): "
    
            where:
            input  | _
            'bla'  | ''
            'nope' | ''
            'yep'  | ''
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/events/IntQuestionPromptEventTest.groovy

            expect:
            def result = event.convert(input)
            result.response == null
            result.newPrompt == "Please enter an integer value (min: 2, default: 4): "
    
            where:
            input | _
            'bla' | ''
            '1s'  | ''
            '1 2' | ''
            Long.MAX_VALUE.toString() | ''
        }
    
        def "rejects input that is below minimum"() {
            def event = new IntQuestionPromptEvent(123, "question?", 2, 4)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. pilot/pkg/model/test/mockopenidserver.go

    	JwtPubKeyExtraElements = `{ "keys": [ { "kid": "fakeKey1_1", "alg": "RS256", "kty": "RSA", "n": "abc", "e": "def", "bla": "blah" },
    			{ "kid": "fakeKey1_2", "alg": "RS256", "kty": "RSA", "n": "123", "e": "456", "bla": "blah" } ] }`
    )
    
    // Wrap the original handler with a delay
    func withDelay(handler http.Handler, delay time.Duration) http.Handler {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 09:47:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. tests/integration/security/fuzz/fuzz_test.go

    )
    
    var (
    	// Known unsupported path parameter ("/bla;foo") normalization for Tomcat.
    	dotdotPwnIgnoreTomcat = []string{
    		"/../private/secret.html;index.html <- VULNERABLE!",
    		"/../private/secret.html;index.htm <- VULNERABLE!",
    		"/..%5Cprivate%5Csecret.html;index.html <- VULNERABLE!",
    		"/..%5Cprivate%5Csecret.html;index.htm <- VULNERABLE!",
    	}
    	// Known unsupported path parameter ("/bla;foo") normalization for Tomcat.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl-integ-tests/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/GradleKotlinDslIntegrationTest.kt

                // without kotlin-stdlib-jdk8 we get:
                // > Retrieving groups by name is not supported on this platform.
    
                val regex = Regex("(?<bla>.*)")
                val groups = regex.matchEntire("abc")?.groups
                println("*" + groups?.get("bla")?.value + "*")
    
                """
            )
    
            assertThat(
                build("help").output,
                containsString("*abc*")
            )
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 02 18:26:28 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. src/text/template/exec_test.go

    	NilOKFunc:                 func(s *int) bool { return s == nil },
    	ErrFunc:                   func() (string, error) { return "bla", nil },
    	PanicFunc:                 func() string { panic("test panic") },
    	TooFewReturnCountFunc:     func() {},
    	TooManyReturnCountFunc:    func() (string, error, int) { return "", nil, 0 },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  10. src/html/template/exec_test.go

    	NilOKFunc:                 func(s *int) bool { return s == nil },
    	ErrFunc:                   func() (string, error) { return "bla", nil },
    	PanicFunc:                 func() string { panic("test panic") },
    	Tmpl:                      Must(New("x").Parse("test template")), // "x" is the value of .X
    }
    
    var tSliceOfNil = []*T{nil}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
Back to top