Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1051 - 1060 of 2,899 for name4 (0.03 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump_test.go

    )
    
    func TestConfigWriter_Prime(t *testing.T) {
    	tests := []struct {
    		name        string
    		wantConfigs int
    		inputFile   string
    		wantErr     bool
    	}{
    		{
    			name:        "errors if unable to unmarshal bytes",
    			inputFile:   "",
    			wantConfigs: 0,
    			wantErr:     true,
    		},
    		{
    			name:        "loads valid ztunnel config_dump",
    			inputFile:   "testdata/dump.json",
    			wantConfigs: 27,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. fastapi/openapi/models.py

        else:
    
            class Config:
                extra = "allow"
    
    
    class Contact(BaseModelWithConfig):
        name: Optional[str] = None
        url: Optional[AnyUrl] = None
        email: Optional[EmailStr] = None
    
    
    class License(BaseModelWithConfig):
        name: str
        identifier: Optional[str] = None
        url: Optional[AnyUrl] = None
    
    
    class Info(BaseModelWithConfig):
        title: str
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

         * resolution is not complete when this visitor is executed.
         */
        private
        fun isIntegrationTest(current: ClassNode) = current.name.endsWith("Test")
            || current.name.endsWith("Spec")
    
        override fun shouldVisitMethod(node: MethodNode): Boolean = isIntegrationTest(node.declaringClass)
    
        override fun visitMethodCallExpression(mce: MethodCallExpression) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_model/test_tutorial006_py310.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(name="client")
    def get_client():
        from docs_src.response_model.tutorial006_py310 import app
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_read_item_name(client: TestClient):
        response = client.get("/items/bar/name")
        assert response.status_code == 200, response.text
        assert response.json() == {"name": "Bar", "description": "The Bar fighters"}
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. clause/from_test.go

    			[]clause.Interface{
    				clause.Select{}, clause.From{
    					Tables: []clause.Table{{Name: "users"}},
    					Joins: []clause.Join{
    						{
    							Type:  clause.RightJoin,
    							Table: clause.Table{Name: "profiles"},
    							ON: clause.Where{
    								[]clause.Expression{clause.Eq{clause.Column{Table: "profiles", Name: "email"}, clause.Column{Table: clause.CurrentTable, Name: "email"}}},
    							},
    						},
    					},
    				}, clause.From{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jul 15 02:25:10 UTC 2020
    - 1.9K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_response_model/test_tutorial003_01.py

                                {
                                    "title": "Full Name",
                                    "anyOf": [{"type": "string"}, {"type": "null"}],
                                }
                            )
                            | IsDict(
                                # TODO: remove when deprecating Pydantic v1
                                {"title": "Full Name", "type": "string"}
                            ),
                        },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Aug 04 20:47:07 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. internal/event/targetid.go

    package event
    
    import (
    	"encoding/json"
    	"fmt"
    	"strings"
    )
    
    // TargetID - holds identification and name strings of notification target.
    type TargetID struct {
    	ID   string
    	Name string
    }
    
    // String - returns string representation.
    func (tid TargetID) String() string {
    	return tid.ID + ":" + tid.Name
    }
    
    // ToARN - converts to ARN.
    func (tid TargetID) ToARN(region string) ARN {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.8K bytes
    - Viewed (0)
  8. cni/pkg/install/binaries_test.go

    	"istio.io/istio/pkg/test/util/assert"
    	"istio.io/istio/pkg/test/util/file"
    )
    
    func TestCopyBinaries(t *testing.T) {
    	cases := []struct {
    		name          string
    		srcFiles      map[string]string
    		existingFiles map[string]string
    		expectedFiles map[string]string
    	}{
    		{
    			name:          "basic",
    			srcFiles:      map[string]string{"istio-cni": "cni111", "istio-iptables": "iptables111"},
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jul 20 18:34:43 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  9. istioctl/pkg/util/configdump/cluster.go

    		cluster := &cluster.Cluster{}
    		err = dac[i].Cluster.UnmarshalTo(cluster)
    		if err != nil {
    			return false
    		}
    		name := cluster.Name
    		err = dac[j].Cluster.UnmarshalTo(cluster)
    		if err != nil {
    			return false
    		}
    		return name < cluster.Name
    	})
    	if stripVersions {
    		for i := range dac {
    			dac[i].VersionInfo = ""
    			dac[i].LastUpdated = nil
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  10. istioctl/pkg/admin/istiodconfig_test.go

    		validationPattern string
    	}
    	tests := []struct {
    		name    string
    		args    args
    		want    *ScopeLevelPair
    		wantErr bool
    	}{
    		{
    			name:    "Fail when logs scope-level pair don't match pattern",
    			args:    args{validationPattern: validationPattern, slp: "invalid:pattern"},
    			wantErr: true,
    		},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 6.2K bytes
    - Viewed (0)
Back to top