- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 1,073 for test (0.04 sec)
-
tests/test_tutorial/test_request_files/test_tutorial003_py39.py
response = client.post( "/uploadfiles/", files=( ("files", ("test.txt", file)), ("files", ("test2.txt", file2)), ), ) assert response.status_code == 200, response.text assert response.json() == {"filenames": ["test.txt", "test2.txt"]} @needs_py39 def test_get_root(app: FastAPI): client = TestClient(app) response = client.get("/")
Registered: Sun Oct 27 07:19:11 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 7.6K bytes - Viewed (0) -
cmd/bucket-replication_test.go
}, } func TestReplicationResync(t *testing.T) { ctx := context.Background() for i, test := range replicationConfigTests { if sync := test.rcfg.Resync(ctx, test.info, test.dsc, test.tgtStatuses); sync.mustResync() != test.expectedSync { t.Errorf("Test%d (%s): Resync got %t , want %t", i+1, test.name, sync.mustResync(), test.expectedSync) } } } var ( start = UTCNow().AddDate(0, 0, -1)
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sat Sep 16 09:28:06 UTC 2023 - 12.2K bytes - Viewed (0) -
ci/official/containers/linux_arm64/devel.usertools/squash_testlogs.py
p.text = runfiles_matcher.sub("[testroot]/", p.text) source_file = p.getparent().getparent().get("source_file", "") p.text += f"\nNOTE: From {source_file}" if "bazel_pip" in source_file: p.text += ( "\nNOTE: This is a --config=pip test. Remove 'bazel_pip' to find" " the file." ) n_failures = seen[key]
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Mon Sep 18 19:00:37 UTC 2023 - 4.8K bytes - Viewed (0) -
cmd/streaming-signature-v4_test.go
} } } // Test read CRLF characters on input reader. func TestReadCRLF(t *testing.T) { type testCase struct { reader io.Reader expectedErr error } tests := []testCase{ // Test - 1 valid buffer with CRLF. {bytes.NewReader([]byte("\r\n")), nil}, // Test - 2 invalid buffer with no CRLF. {bytes.NewReader([]byte("he")), errMalformedEncoding}, // Test - 3 invalid buffer with more characters.
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 5.7K bytes - Viewed (0) -
CONTRIBUTING.md
``` For example, to run all tests under tensorflow/python, do: ```bash bazel test ${flags} //tensorflow/python/... ``` For a single component e.g. softmax op: ```bash bazel test ${flags} tensorflow/python/kernel_tests/nn_ops:softmax_op_test ``` For a single/parameterized test e.g. `test_capture_variables` in
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Wed Oct 23 06:20:12 UTC 2024 - 15.9K bytes - Viewed (0) -
internal/bucket/versioning/versioning_test.go
excluded: false, }, } for i, test := range tests { if v.PrefixSuspended(test.prefix) != test.excluded { if test.excluded { t.Fatalf("Test %d: Expected prefix %s to be excluded from versioning", i+1, test.prefix) } else { t.Fatalf("Test %d: Expected prefix %s to have versioning enabled", i+1, test.prefix) } } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun May 08 05:06:44 UTC 2022 - 8.8K bytes - Viewed (0) -
docs/distributed/iam-import-with-openid.sh
if [[ ${BKT_NAME} != "test-bucket" ]]; then echo "BUG: Expected bucket: test-bucket, Found: ${BKT_NAME}" exit 1 fi ./mc ls myminio1/test-bucket OBJ_COUNT=$(./mc ls myminio1/test-bucket --json | jq '.key' | wc -l) if [ "${OBJ_COUNT}" -ne 1 ]; then echo "BUG: Expected no of objects: 1, Found: ${OBJ_COUNT}" exit 1 fi OBJ_NAME=$(./mc ls myminio1/test-bucket --json | jq '.key' | sed 's/"//g')
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Tue Sep 17 16:45:46 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_remote_function_test.cc
} TEST(CAPI, RemoteExecuteSilentCopiesLocalAsyncFuncOrdering) { // A remote input may be not ready when we start running a function. Test that // the function execution should wait until the remote input is ready. TestRemoteExecuteSilentCopiesFunc(/*async=*/true, /*remote=*/false, /*heavy_load_on_streaming_rpc=*/true); }
Registered: Tue Oct 29 12:39:09 UTC 2024 - Last Modified: Fri Dec 11 22:56:03 UTC 2020 - 3.6K bytes - Viewed (0) -
cmd/api-resources_test.go
if errCode != testCase.errCode { t.Errorf("Test %d: Expected error code:%d, got %d", i+1, testCase.errCode, errCode) } if prefix != testCase.prefix { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.prefix, prefix) } if token != testCase.token { t.Errorf("Test %d: Expected %s, got %s", i+1, testCase.token, token) } if startAfter != testCase.startAfter {
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Fri Apr 23 18:58:53 UTC 2021 - 7.1K bytes - Viewed (0) -
cmd/http-tracer_test.go
}, { "?x=y&a=b", "?x=y&a=b", }, } for i, test := range testCases { gotQuery := redactLDAPPwd(test.query) if gotQuery != test.expectedQuery { t.Fatalf("test %d: expected %s got %s", i+1, test.expectedQuery, gotQuery) } }
Registered: Sun Oct 27 19:28:09 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 1.8K bytes - Viewed (0)