Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,248 for test_ (0.05 sec)

  1. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    def test_post_files_and_token(tmp_path, app: FastAPI):
        patha = tmp_path / "test.txt"
        pathb = tmp_path / "testb.txt"
        patha.write_text("<file content>")
        pathb.write_text("<file b content>")
    
        client = TestClient(app)
        with patha.open("rb") as filea, pathb.open("rb") as fileb:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

                    },
                ]
            }
        )
    
    
    @needs_py39
    def test_post_files_and_token(tmp_path, app: FastAPI):
        patha = tmp_path / "test.txt"
        pathb = tmp_path / "testb.txt"
        patha.write_text("<file content>")
        pathb.write_text("<file b content>")
    
        client = TestClient(app)
        with patha.open("rb") as filea, pathb.open("rb") as fileb:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. docs/iam/policies/pbac-tests.sh

    mc admin policy attach myminio consoleAdmin --user minio123
    
    mc mb -l myminio/test-bucket
    mc mb -l myminio/multi-key-poc
    
    export MC_HOST_myminio1="http://minio123:minio123@localhost:9000/"
    
    mc cp /etc/issue myminio1/test-bucket
    ret=$?
    if [ $ret -ne 0 ]; then
    	echo "BUG: PutObject to bucket: test-bucket should succeed. Failed"
    	exit 1
    fi
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 25 01:15:27 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/test/resources/local-repo/maven-test/poms/maven-test-a-1.0.pom

      <modelVersion>4.0.0</modelVersion>
      <groupId>maven-test</groupId>
      <artifactId>maven-test-a</artifactId>
      <packaging>jar</packaging>
      <version>1.0</version>
      <repositories>
        <repository>
          <id>central</id>
          <name>Fake Maven Central Repository</name>
          <url>file://dummy</url>
        </repository>
      </repositories>
      <dependencies>
        <dependency>
          <groupId>maven-test</groupId>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 586 bytes
    - Viewed (0)
  5. compat/maven-compat/src/test/resources/local-repo/maven-test/poms/maven-test-d-1.2.pom

    <project>
      <modelVersion>4.0.0</modelVersion>
      <groupId>maven-test</groupId>
      <artifactId>maven-test-d</artifactId>
      <packaging>jar</packaging>
      <version>1.1</version>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 183 bytes
    - Viewed (0)
  6. docs/bucket/versioning/versioning-tests.sh

    Harshavardhana <******@****.***> 1725615741 -0700
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/testing-dependencies.md

    ```Python
    app.dependency_overrides = {}
    ```
    
    /// tip | "Dica"
    
    Se você quer sobrepor uma dependência apenas para alguns testes, você pode definir a sobreposição no início do testes (dentro da função de teste) e reiniciá-la ao final (no final da função de teste).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  8. cmd/batch-handlers_test.go

    		Prefix BatchJobPrefix `yaml:"prefix"`
    	}
    	tests := []struct {
    		name    string
    		b       PrefixTemp
    		args    args
    		want    []string
    		wantErr bool
    	}{
    		{
    			name: "test1",
    			b:    PrefixTemp{},
    			args: args{
    				yamlStr: `
    prefix: "foo"
    `,
    			},
    			want:    []string{"foo"},
    			wantErr: false,
    		},
    		{
    			name: "test2",
    			b:    PrefixTemp{},
    			args: args{
    				yamlStr: `
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  9. src/archive/zip/testdata/test-baddirsz.zip

    test.txt This is a test text file. gophercolor16x16.png...
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jun 02 16:25:34 UTC 2022
    - 1.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py

                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    def test_post_files_and_token(tmp_path, app: FastAPI):
        patha = tmp_path / "test.txt"
        pathb = tmp_path / "testb.txt"
        patha.write_text("<file content>")
        pathb.write_text("<file b content>")
    
        client = TestClient(app)
        with patha.open("rb") as filea, pathb.open("rb") as fileb:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top