Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 843 for desert (0.4 sec)

  1. pkg/kubelet/images/image_gc_manager_test.go

    	_, err := manager.detectImages(ctx, zero)
    	assert := assert.New(t)
    	require.NoError(t, err)
    	assert.Equal(manager.imageRecordsLen(), 3)
    	noContainer, ok := manager.getImageRecordWithRuntimeHandlerInImageCriAPIFeatureGate(imageID(0), testRuntimeHandler)
    	require.True(t, ok)
    	assert.Equal(zero, noContainer.firstDetected)
    	assert.Equal(testRuntimeHandler, noContainer.runtimeHandlerUsedToPullImage)
    	assert.Equal(zero, noContainer.lastUsed)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 15:38:20 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_bigger_applications/test_main_an.py

    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_users_with_no_token(client: TestClient):
        response = client.get("/users")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier_test.go

    	assert.Equal(t, "", svc4Endpoint, "svc4 endpoint was still created!")
    	if numEndpoints != 0 {
    		t.Errorf("Found wrong number of endpoints after delayed resync: expected %d, got %d", 0, numEndpoints)
    	}
    	assert.Contains(t, fp.iptablesData.String(), "-X KUBE-SVC-EBDQOQU5SJFXRIL3", "iptables data does not contain chain deletion")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
  4. tests/test_dependency_overrides.py

        response = client.get("/main-depends/?q=foo")
        assert response.status_code == 200
        assert response.json() == {
            "in": "main-depends",
            "params": {"q": "foo", "skip": 0, "limit": 100},
        }
    
    
    def test_main_depends_q_foo_skip_100_limit_200():
        response = client.get("/main-depends/?q=foo&skip=100&limit=200")
        assert response.status_code == 200
        assert response.json() == {
            "in": "main-depends",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  5. platforms/jvm/code-quality/src/integTest/groovy/org/gradle/api/plugins/quality/codenarc/CodeNarcPluginIntegrationTest.groovy

                        assert maxPriority1Violations == 10
                        assert maxPriority2Violations == 50
                        assert maxPriority3Violations == 200
                        assert reports.enabled*.name == ["xml"]
                        assert reports.xml.outputLocation.asFile.get() == project.file("codenarc-reports/${sourceSet.name}.xml")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 22 08:01:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/test/groovy/org/gradle/internal/serialize/AbstractCodecTest.groovy

                assert decoder.inputStream.read(buffer) == 3
                assert buffer == [Byte.MIN_VALUE, Byte.MAX_VALUE, -1] as byte[]
                assert decoder.inputStream.read(buffer, 1, 2) == 2
                assert buffer[1] == 1
                assert buffer[2] == 2
                assert decoder.inputStream.read() == 3
                assert decoder.inputStream.read() == 4
                assert decoder.inputStream.read() == 0xc3
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_bigger_applications/test_main.py

    def test_users_token_jessica(client: TestClient):
        response = client.get("/users?token=jessica")
        assert response.status_code == 200
        assert response.json() == [{"username": "Rick"}, {"username": "Morty"}]
    
    
    def test_users_with_no_token(client: TestClient):
        response = client.get("/users")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_body/test_tutorial001.py

        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": None,
            "tax": None,
        }
    
    
    def test_post_with_str_float(client: TestClient):
        response = client.post("/items/", json={"name": "Foo", "price": "50.5"})
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_body/test_tutorial001_py310.py

        )
        assert response.status_code == 200
        assert response.json() == {
            "name": "Foo",
            "price": 50.5,
            "description": "Some Foo",
            "tax": 0.3,
        }
    
    
    @needs_py310
    def test_post_with_only_name(client: TestClient):
        response = client.post("/items/", json={"name": "Foo"})
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 15K bytes
    - Viewed (0)
  10. 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)
Back to top