- Sort Score
- Result 10 results
- Languages All
Results 191 - 200 of 3,844 for asset0 (0.1 sec)
-
pkg/util/smallset/smallset_test.go
assert.Equal(t, set.Contains("d"), true) assert.Equal(t, set.Contains("e"), false) nset := set.CopyAndInsert("z", "c", "a") // Should not mutate original set assert.Equal(t, set.List(), []string{"a", "b", "d"}) assert.Equal(t, nset.List(), []string{"a", "b", "c", "d", "z"}) assert.Equal(t, nset.Contains("a"), true) assert.Equal(t, nset.Contains("b"), true) assert.Equal(t, nset.Contains("c"), true)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 23:33:56 UTC 2024 - 4K bytes - Viewed (0) -
tests/test_local_docs.py
html = get_swagger_ui_html(openapi_url="/docs", title="title") body_content = html.body.decode() assert swagger_js_url in body_content assert swagger_css_url in body_content assert swagger_favicon_url in body_content def test_strings_in_custom_swagger(): swagger_js_url = "swagger_fake_file.js" swagger_css_url = "swagger_fake_file.css"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Dec 20 18:50:00 UTC 2020 - 2.4K bytes - Viewed (0) -
pkg/kubelet/server/stats/summary_windows_test.go
summary, err := provider.Get(ctx, true) assert.NoError(err) assert.Equal(summary.Node.NodeName, "test-node") assert.Equal(summary.Node.StartTime, systemBootTime) assert.Equal(summary.Node.CPU, cgroupStatsMap["/"].cs.CPU) assert.Equal(summary.Node.Memory, cgroupStatsMap["/"].cs.Memory) assert.Equal(summary.Node.Network, cgroupStatsMap["/"].ns) assert.Equal(summary.Node.Fs, rootFsStats)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 08:12:16 UTC 2024 - 4.4K bytes - Viewed (0) -
tests/test_dependency_cache.py
response = client.get("/counter/") assert response.status_code == 200, response.text assert response.json() == {"counter": 1} response = client.get("/counter/") assert response.status_code == 200, response.text assert response.json() == {"counter": 2} def test_sub_counter(): counter_holder["counter"] = 0 response = client.get("/sub-counter/") assert response.status_code == 200, response.text
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Aug 23 13:30:24 UTC 2022 - 2.7K bytes - Viewed (0) -
pkg/kubelet/winstats/perfcounter_nodestats_test.go
} machineInfo, err := p.getMachineInfo() assert.NoError(t, err) assert.Equal(t, uint64(100), machineInfo.MemoryCapacity) hostname, _ := os.Hostname() assert.Equal(t, hostname, machineInfo.MachineID) // Check if it's an UUID. _, err = uuid.Parse(machineInfo.SystemUUID) assert.NoError(t, err) id, err := strconv.Atoi(machineInfo.BootID) assert.NoError(t, err) assert.NotZero(t, id) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 26 18:37:21 UTC 2024 - 5.7K bytes - Viewed (0) -
pkg/kubelet/server/server_websocket_test.go
channel, data, err := wsRead(ws) assert.NoError(t, err, "port %d read", port) assert.Equal(t, i*2+dataChannel, int(channel), "port %d channel", port) assert.Len(t, data, binary.Size(port), "port %d data size", port) assert.Equal(t, binary.LittleEndian.Uint16(data), port, "port %d data", port) channel, data, err = wsRead(ws) assert.NoError(t, err, "port %d read", port)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jun 05 06:08:18 UTC 2023 - 8.2K bytes - Viewed (0) -
pkg/kubelet/winstats/winstats_test.go
}, }, Stats: stats, } assert.Equal(t, len(actualRootInfos), len(infos)) assert.Equal(t, actualRootInfos["/"].Spec, infos["/"].Spec) assert.Equal(t, len(actualRootInfos["/"].Stats), len(infos["/"].Stats)) assert.Equal(t, actualRootInfos["/"].Stats[0].Cpu, infos["/"].Stats[0].Cpu) assert.Equal(t, actualRootInfos["/"].Stats[0].CpuInst, infos["/"].Stats[0].CpuInst)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Mar 13 12:08:15 UTC 2023 - 4.2K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_an.py
data = websocket.receive_text() assert data == "Session cookie or query token value is: fakesession" data = websocket.receive_text() assert data == f"Message text was: {message}, for item ID: foo" message = "Message two" websocket.send_text(message) data = websocket.receive_text() assert data == "Session cookie or query token value is: fakesession"
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.6K bytes - Viewed (0) -
tests/test_security_http_basic_optional.py
assert response.status_code == 401, response.text assert response.headers["WWW-Authenticate"] == "Basic" assert response.json() == {"detail": "Invalid authentication credentials"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == { "openapi": "3.1.0",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Fri Jun 30 18:25:16 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/derived/JvmDerivedVariantsIntegrationTest.groovy
assert attributesAsMap['org.gradle.dependency.bundling'] == 'external' assert attributesAsMap['org.gradle.docstype'] == 'sources' assert attributesAsMap['org.gradle.usage'] == 'java-runtime' assert attributesAsMap['org.gradle.status'] == 'release' assert attributesAsMap['org.gradle.libraryelements'] == 'jar' assert attributesAsMap['artifactType'] == 'jar' } } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 18 19:46:19 UTC 2023 - 5.4K bytes - Viewed (0)