- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 4,045 for jest (0.16 sec)
-
tensorflow/c/c_test.c
// just nice to know that it compiles. void* create(TF_OpKernelConstruction* ctx) { TF_DataType type; TF_Status* s = TF_NewStatus(); TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s); TF_DeleteStatus(s); return NULL; } // A compute function. This will never actually get called in this test, it's // just nice to know that it compiles.
C - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Apr 24 20:50:35 GMT 2024 - 2.8K bytes - Viewed (0) -
docs/en/docs/alternatives.md
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 23.2K bytes - Viewed (0) -
internal/dsync/dsync-client_test.go
"errors" "net/http" "net/url" "time" xhttp "github.com/minio/minio/internal/http" "github.com/minio/minio/internal/rest" ) // ReconnectRESTClient is a wrapper type for rest.Client which provides reconnect on first failure. type ReconnectRESTClient struct { u *url.URL rest *rest.Client } // newClient constructs a ReconnectRESTClient object with addr and endpoint initialized.
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Thu Jan 20 17:36:09 GMT 2022 - 4.4K bytes - Viewed (0) -
tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial006.py
client = TestClient(app) def test_post(): response = client.post("/items/", content=b"this is actually not validated") assert response.status_code == 200, response.text assert response.json() == { "size": 30, "content": { "name": "Maaaagic", "price": 42, "description": "Just kiddin', no magic here. ✨", }, }
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.9K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/feature_addition_request.yaml
just a feature that seems like a sensible addition to Guava? Before new features get added to Guava, we really want to be sure that it's for a use case that actually comes up in the real world. We want to hear the real-world use case so the community can discuss and debate whether this feature is actually the *best* way to address
Others - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Nov 17 18:47:47 GMT 2023 - 5.8K bytes - Viewed (0) -
tests/test_tutorial/test_openapi_webhooks/test_tutorial001.py
from docs_src.openapi_webhooks.tutorial001 import app client = TestClient(app) def test_get(): response = client.get("/users/") assert response.status_code == 200, response.text assert response.json() == ["Rick", "Morty"] def test_dummy_webhook(): # Just for coverage app.webhooks.routes[0].endpoint({}) def test_openapi_schema(): response = client.get("/openapi.json")
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Oct 20 09:00:44 GMT 2023 - 4.4K bytes - Viewed (2) -
istioctl/pkg/util/handlers/handlers_test.go
wantPodName: "foo-abc", wantNamespace: "test", }, { name: "Deployment/foo.istio-system", wantPodName: "foo-abc", wantNamespace: "istio-system", }, { name: "Deployment/foo", wantPodName: "foo-abc", wantNamespace: "test", }, } factory := cmdtesting.NewTestFactory().WithNamespace("test") ns := scheme.Codecs.WithoutConversion()
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jun 09 18:17:49 GMT 2023 - 6.6K bytes - Viewed (0) -
src/cmd/asm/internal/asm/endtoend_test.go
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Dec 07 18:42:59 GMT 2023 - 11.6K bytes - Viewed (0) -
operator/cmd/mesh/operator_test.go
} kubeClients = MockKubernetesClients for _, test := range tests { t.Run("", func(t *testing.T) { args := []string{"operator", "init", "--dry-run"} if test.operatorNamespace != "" { args = append(args, "--operatorNamespace", test.operatorNamespace) } if test.watchedNamespaces != "" { args = append(args, "--watchedNamespaces", test.watchedNamespaces) }
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Tue Aug 29 14:15:33 GMT 2023 - 6.4K bytes - Viewed (0) -
docs/en/docs/advanced/testing-database.md
{!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!} ``` !!! tip The code for `override_get_db()` is almost exactly the same as for `get_db()`, but in `override_get_db()` we use the `TestingSessionLocal` for the testing database instead. ## Test the app Then we can just test the app as normally. ```Python hl_lines="32-47" {!../../../docs_src/sql_databases/sql_app/tests/test_sql_app.py!} ```
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 3.5K bytes - Viewed (0)