Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for BLA (0.03 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. 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)
  7. 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)
  8. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		expectedErrors bool
    	}{
    		{name: "valid socket URL", criSocket: kubeadmapiv1.DefaultContainerRuntimeURLScheme + "://" + "/some/path", expectedErrors: false},
    		{name: "unsupported URL scheme", criSocket: "bla:///some/path", expectedErrors: true},
    		{name: "missing URL scheme", criSocket: "/some/path", expectedErrors: true},
    		{name: "unparseable URL", criSocket: ":::", expectedErrors: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  9. tests/integration/security/authz_test.go

    									if to.Config().DeployAsVM {
    										continue
    									}
    									for _, instance := range to.Instances() {
    										err := instance.UpdateWorkloadLabel(map[string]string{"foo": "bla"}, nil)
    										if err != nil {
    											t.Fatal(err)
    										}
    									}
    								}
    								newAuthzTest().
    									From(from).
    									To(to).
    									Allow(c.allow).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 23:36:51 UTC 2024
    - 50.1K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/route/route_test.go

    								MatchType: &networking.StringMatch_Exact{
    									Exact: "Bar",
    								},
    							},
    						},
    						WithoutHeaders: map[string]*networking.StringMatch{
    							"@request.auth.claims.Bla": {
    								MatchType: &networking.StringMatch_Exact{
    									Exact: "Bar",
    								},
    							},
    						},
    					},
    				},
    				Redirect: &networking.HTTPRedirect{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
Back to top