Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 914 for isValid (0.04 sec)

  1. docs/iam/policies/pbac-tests.sh

    mc admin policy create myminio/ deny-non-sse-kms-pol ./docs/iam/policies/deny-non-sse-kms-objects.json
    mc admin policy create myminio/ deny-invalid-sse-kms-pol ./docs/iam/policies/deny-objects-with-invalid-sse-kms-key-id.json
    
    mc admin policy attach myminio deny-non-sse-kms-pol --user minio123
    mc admin policy attach myminio deny-invalid-sse-kms-pol --user minio123
    mc admin policy attach myminio consoleAdmin --user minio123
    
    mc mb -l myminio/test-bucket
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_query_param_models/test_tutorial002.py

        }
    
    
    def test_query_param_model_invalid(client: TestClient):
        response = client.get(
            "/items/",
            params={
                "limit": 150,
                "offset": -1,
                "order_by": "invalid",
            },
        )
        assert response.status_code == 422
        assert response.json() == snapshot(
            IsDict(
                {
                    "detail": [
                        {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. tests/associations_test.go

    			t.Fatalf("invalid %v count %v, expects: %v got %v", name, reason, result, count)
    		}
    	}
    }
    
    func TestInvalidAssociation(t *testing.T) {
    	user := *GetUser("invalid", Config{Company: true, Manager: true})
    	if err := DB.Model(&user).Association("Invalid").Find(&user.Company).Error; err == nil {
    		t.Fatalf("should return errors for invalid association, but got nil")
    	}
    }
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  4. cmd/endpoint_test.go

    		{"c://foo", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"ftp://foo", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"http://server/path?location", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format")},
    		{"http://:/path", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: invalid port number")},
    		{"http://:8080/path", Endpoint{}, -1, fmt.Errorf("invalid URL endpoint format: empty host name")},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jan 13 07:53:03 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py

        response = client.get("/items/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    @needs_py39
    def test_get_invalid_one_users(client: TestClient):
        response = client.get("/users/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         * @see #collect(DependencyResolverRequest)
         */
        @Nonnull
        default DependencyResolverResult collect(
                @Nonnull Session session, @Nonnull DependencyCoordinates root, @Nonnull PathScope scope) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Oct 16 14:15:37 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. tests/customize_field_test.go

    	if result.FieldAllowUpdate != "" || result.FieldReadonly != "" || result.FieldIgnore != "" || result.FieldAllowSave3 != "" {
    		t.Fatalf("invalid result: %#v", result)
    	}
    
    	if int(result.AutoUnixCreateTime) != int(result.AutoUnixUpdateTime) || result.AutoUnixCreateTime == 0 {
    		t.Fatalf("invalid create/update unix time: %#v", result)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Fri Sep 11 09:33:31 UTC 2020
    - 6.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_bigger_applications/test_main_an_py39.py

        response = client.get("/items?token=jessica", headers={"X-Token": "invalid"})
        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    @needs_py39
    def test_items_bar_with_invalid_token(client: TestClient):
        response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"})
        assert response.status_code == 400
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  9. internal/config/dns/store.go

    package dns
    
    // Error - DNS related errors error.
    type Error struct {
    	Bucket string
    	Err    error
    }
    
    // ErrInvalidBucketName for buckets with invalid name
    type ErrInvalidBucketName Error
    
    func (e ErrInvalidBucketName) Error() string {
    	return e.Bucket + " invalid bucket name error: " + e.Err.Error()
    }
    
    func (e Error) Error() string {
    	return "dns related error: " + e.Err.Error()
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  10. internal/bucket/replication/tag.go

    	Value   string   `xml:"Value,omitempty" json:"Value,omitempty"`
    }
    
    var (
    	errInvalidTagKey   = Errorf("The TagKey you have provided is invalid")
    	errInvalidTagValue = Errorf("The TagValue you have provided is invalid")
    )
    
    func (tag Tag) String() string {
    	return tag.Key + "=" + tag.Value
    }
    
    // IsEmpty returns whether this tag is empty or not.
    func (tag Tag) IsEmpty() bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 1.6K bytes
    - Viewed (0)
Back to top