- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 2,878 for get (0.17 sec)
-
src/test/java/jcifs/tests/BaseCIFSTest.java
} protected String getTestDomain () { String testDomain = getProperties().get(TestProperties.TEST_DOMAIN); Assume.assumeNotNull(testDomain); return testDomain; } protected String getTestServer () { String testServer = getProperties().get(TestProperties.TEST_SERVER); Assume.assumeNotNull(testServer); return testServer; }
Java - Registered: Sun May 05 00:10:10 GMT 2024 - Last Modified: Sun Jul 01 13:12:10 GMT 2018 - 8.1K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012_an.py
}, ] } ) def test_get_invalid_one_header_items(): response = client.get("/items/", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_get_invalid_one_users(): response = client.get("/users/", headers={"X-Token": "invalid"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Thu Apr 18 19:40:57 GMT 2024 - 8.4K bytes - Viewed (0) -
tests/test_tutorial/test_security/test_tutorial006_an.py
client = TestClient(app) def test_security_http_basic(): response = client.get("/users/me", auth=("john", "secret")) assert response.status_code == 200, response.text assert response.json() == {"username": "john", "password": "secret"} def test_security_http_basic_no_credentials(): response = client.get("/users/me") assert response.json() == {"detail": "Not authenticated"}
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 2.3K bytes - Viewed (0) -
manifests/charts/istiod-remote/templates/clusterrole.yaml
resources: ["customresourcedefinitions"] verbs: ["get", "list", "watch"] # discovery and routing - apiGroups: [""] resources: ["pods", "nodes", "services", "namespaces", "endpoints"] verbs: ["get", "list", "watch"] - apiGroups: ["discovery.k8s.io"] resources: ["endpointslices"] verbs: ["get", "list", "watch"] {{- if .Values.pilot.taint.enabled }} - apiGroups: [""]
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Apr 12 16:44:32 GMT 2024 - 5.8K bytes - Viewed (0) -
tests/test_security_http_base.py
app = FastAPI() security = HTTPBase(scheme="Other") @app.get("/users/me") def read_current_user(credentials: HTTPAuthorizationCredentials = Security(security)): return {"scheme": credentials.scheme, "credentials": credentials.credentials} client = TestClient(app) def test_security_http_base(): response = client.get("/users/me", headers={"Authorization": "Other foobar"})
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 1.7K bytes - Viewed (0) -
build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt
abstract class GenerateSample : DefaultTask() { @get:Input abstract val type: Property<String> @get:Input abstract val modularization: Property<ModularizationOption> @get:InputDirectory @get:PathSensitive(PathSensitivity.NAME_ONLY) abstract val readmeTemplates: DirectoryProperty @get:OutputDirectory abstract val target: DirectoryProperty @get:Inject protected
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Jul 07 13:12:26 GMT 2021 - 2K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheLoaderTest.java
assertEquals(2, loadCount.get()); assertEquals(1, reloadCount.get()); assertEquals(2, loadAllCount.get()); executor.runNext(); assertEquals(2, loadCount.get()); assertEquals(2, reloadCount.get()); assertEquals(2, loadAllCount.get()); }
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri Aug 05 17:21:46 GMT 2022 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial008b_an.py
from docs_src.dependencies.tutorial008b_an import app client = TestClient(app) def test_get_no_item(): response = client.get("/items/foo") assert response.status_code == 404, response.text assert response.json() == {"detail": "Item not found"} def test_owner_error(): response = client.get("/items/plumbus") assert response.status_code == 400, response.text
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Tue Dec 26 20:37:34 GMT 2023 - 700 bytes - Viewed (0) -
tests/test_security_http_base_optional.py
client = TestClient(app) def test_security_http_base(): response = client.get("/users/me", headers={"Authorization": "Other foobar"}) assert response.status_code == 200, response.text assert response.json() == {"scheme": "Other", "credentials": "foobar"} def test_security_http_base_no_credentials(): response = client.get("/users/me") assert response.status_code == 200, response.text
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) -
maven-compat/src/test/java/org/apache/maven/artifact/transform/TransformationManagerTest.java
assertTrue( tms.get(0) instanceof ReleaseArtifactTransformation, "We expected the release transformation and got " + tms.get(0)); assertTrue( tms.get(1) instanceof LatestArtifactTransformation, "We expected the latest transformation and got " + tms.get(1)); assertTrue( tms.get(2) instanceof SnapshotTransformation,
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Apr 25 05:46:50 GMT 2024 - 2.3K bytes - Viewed (0)