Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 495 for test32 (0.18 sec)

  1. tests/test_tutorial/test_request_files/test_tutorial003.py

    
    def test_post_files(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_request_files/test_tutorial003_an_py39.py

        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  3. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/logging/TestCountLoggerTest.groovy

        def logsCountOfTestsExecuted() {
            TestDescriptor test1 = test()
            TestDescriptor test2 = test()
    
            logger.beforeSuite(rootSuite)
    
            when:
            logger.afterTest(test1, result())
            logger.beforeTest(test2)
    
            then:
            1 * progressLogger.progress('1 test completed')
    
            when:
            logger.afterTest(test2, result())
            logger.afterSuite(rootSuite, result())
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformIsolationIntegrationTest.groovy

                output.count("Transforming test-1.3.jar to test-1.3.jar.txt") == 1
                output.count("Transforming test2-2.3.jar to test2-2.3.jar.txt") == 1
            } else {
                // Counter is isolated at execution time, so transforms will see the increment in each tasks' doLast { }
                output.count("Transforming") == 6
                output.count("Transforming test-1.3.jar to test-1.3.jar.txt") == 3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/swift/testFiltering/groovy/src/test/swift/SomeIntegTest.swift

    import XCTest
    
    class SomeIntegTest: XCTestCase {
        public static var allTests = [
            ("test1", test1),
            ("test2", test2)
        ]
        func test1() {}
        func test2() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 183 bytes
    - Viewed (0)
  6. staging/src/k8s.io/cli-runtime/pkg/resource/helper_test.go

    			},
    		},
    	}
    }
    
    func TestHelperDelete(t *testing.T) {
    	tests := []struct {
    		name    string
    		Err     bool
    		Req     func(*http.Request) bool
    		Resp    *http.Response
    		HttpErr error
    	}{
    		{
    			name:    "test1",
    			HttpErr: errors.New("failure"),
    			Err:     true,
    		},
    		{
    			name: "test2",
    			Resp: &http.Response{
    				StatusCode: http.StatusNotFound,
    				Header:     header(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 09:47:52 UTC 2023
    - 25.2K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_request_files/test_tutorial003_an.py

    
    def test_post_files(tmp_path):
        path = tmp_path / "test.txt"
        path.write_bytes(b"<file content>")
        path2 = tmp_path / "test2.txt"
        path2.write_bytes(b"<file content2>")
    
        client = TestClient(app)
        with path.open("rb") as file, path2.open("rb") as file2:
            response = client.post(
                "/files/",
                files=(
                    ("files", ("test.txt", file)),
                    ("files", ("test2.txt", file2)),
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  8. src/cmd/internal/test2json/testdata/issue29755.json

    {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"    --- PASS: TestOutputWithSubtest/sub_test2 (0.00s)\n"}
    {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"        foo_test.go:21: output from sub test2\n"}
    {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"        foo_test.go:23: more output from sub test2\n"}
    {"Action":"output","Test":"TestOutputWithSubtest/sub_test2","Output":"        foo_test.go:28: more output from sub test2\n"}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 09 17:33:07 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  9. testing/integ-test/src/integTest/groovy/org/gradle/integtests/BuildScriptClasspathIntegrationTest.java

                    "public class OnDemandImportedClass { }"
            );
            builder.buildJar(testFile("repo/test-1.3.jar"));
    
            testFile("build.gradle").writelns(
                    "import org.gradle.test.ImportedClass",
                    "import static org.gradle.test.StaticImportedClass.*",
                    "import static org.gradle.test.StaticImportedFieldClass.anotherValue",
                    "import org.gradle.test2.*",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  10. pkg/apis/core/validation/events_test.go

    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test11",
    					Namespace: "foo",
    				},
    				InvolvedObject: core.ObjectReference{
    					APIVersion: "batch/v1",
    					Kind:       "Job",
    					Namespace:  "foo",
    				},
    			},
    			true,
    		},
    		{
    			&core.Event{
    				ObjectMeta: metav1.ObjectMeta{
    					Name:      "test12",
    					Namespace: "foo",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Sep 01 19:47:37 UTC 2022
    - 37.2K bytes
    - Viewed (0)
Back to top