- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 586 for mytest (0.13 sec)
-
internal/bucket/replication/rule_test.go
opts: ObjectOpts{Name: "c2test", DeleteMarker: false, OpType: MetadataReplicationType, Replica: true}, // 1. Replica mod sync enabled; a replica expectedResult: true, }, } for i, tc := range testCases { tc := tc t.Run(fmt.Sprintf("Test_%d", i+1), func(t *testing.T) { cfg, err := ParseConfig(bytes.NewReader([]byte(tc.inputConfig))) if err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/MyTester.java
/* * @Ignore affects the Android test runner (and only the Android test runner): It respects JUnit 4 * annotations even on JUnit 3 tests. * * TODO(b/225350400): Remove @Ignore, which doesn't seem like it should be necessary and probably * soon won't be. */ @SuppressWarnings("JUnit4ClassUsedInJUnit3") @Ignore public final class MyTester extends AbstractTester<@Nullable Void> {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Apr 17 14:48:57 UTC 2023 - 1.3K bytes - Viewed (0) -
tensorflow/c/c_test.c
// A create function. This will never actually get called in this test, it's // 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.
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Wed Apr 24 20:50:35 UTC 2024 - 2.8K bytes - Viewed (0) -
tests/test_tutorial/test_cookie_param_models/test_tutorial002.py
pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]), pytest.param("tutorial002_an_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_pv1", marks=[needs_pydanticv1, needs_pydanticv1]), pytest.param("tutorial002_pv1_py310", marks=[needs_py310, needs_pydanticv1]), pytest.param("tutorial002_pv1_an", marks=[needs_pydanticv1]),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 8.6K bytes - Viewed (0) -
tests/test_tutorial/test_header_param_models/test_tutorial002.py
pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]), pytest.param("tutorial002_an_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_pv1", marks=[needs_pydanticv1, needs_pydanticv1]), pytest.param("tutorial002_pv1_py310", marks=[needs_py310, needs_pydanticv1]), pytest.param("tutorial002_pv1_an", marks=[needs_pydanticv1]),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.5K bytes - Viewed (0) -
tests/utils.py
import sys import pytest from fastapi._compat import PYDANTIC_V2 needs_py39 = pytest.mark.skipif(sys.version_info < (3, 9), reason="requires python3.9+") needs_py310 = pytest.mark.skipif( sys.version_info < (3, 10), reason="requires python3.10+" ) needs_pydanticv2 = pytest.mark.skipif(not PYDANTIC_V2, reason="requires Pydantic v2")
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Fri Jul 07 17:12:13 UTC 2023 - 422 bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an_py310.py
client = TestClient(app) with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/foo/ws"): pytest.fail( "did not raise WebSocketDisconnect on __enter__" ) # pragma: no cover @needs_py310 def test_websocket_invalid_data(app: FastAPI): client = TestClient(app) with pytest.raises(WebSocketDisconnect):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial002.py
pytest.param("tutorial002_an", marks=needs_pydanticv2), pytest.param("tutorial002_an_py39", marks=[needs_py39, needs_pydanticv2]), pytest.param("tutorial002_an_py310", marks=[needs_py310, needs_pydanticv2]), pytest.param("tutorial002_pv1", marks=[needs_pydanticv1, needs_pydanticv1]), pytest.param("tutorial002_pv1_py39", marks=[needs_py39, needs_pydanticv1]),
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 10.4K bytes - Viewed (0) -
tests/test_multipart_installation.py
warnings.simplefilter("always") monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False) with pytest.raises(RuntimeError, match=multipart_incorrect_install_error): app = FastAPI() @app.post("/") async def root(f: bytes = File()): return f # pragma: nocover def test_incorrect_multipart_installed_multi_form(monkeypatch):
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 27 21:46:26 UTC 2024 - 5.7K bytes - Viewed (0) -
tests/test_tutorial/test_query_param_models/test_tutorial001.py
import pytest from dirty_equals import IsDict from fastapi.testclient import TestClient from inline_snapshot import snapshot from tests.utils import needs_py39, needs_py310 @pytest.fixture( name="client", params=[ "tutorial001", pytest.param("tutorial001_py39", marks=needs_py39), pytest.param("tutorial001_py310", marks=needs_py310), "tutorial001_an",
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Sep 17 18:54:10 UTC 2024 - 9.2K bytes - Viewed (0)