Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for expectedStatus (0.13 sec)

  1. pkg/controller/replicaset/replica_set_test.go

    		if !reflect.DeepEqual(test.status, test.expectedStatus) {
    			t.Errorf("%s: expected status: %v, got: %v", test.name, test.expectedStatus, test.status)
    		}
    	}
    }
    
    func TestRemoveCondition(t *testing.T) {
    	tests := []struct {
    		name string
    
    		status   *apps.ReplicaSetStatus
    		condType apps.ReplicaSetConditionType
    
    		expectedStatus *apps.ReplicaSetStatus
    	}{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 69.2K bytes
    - Viewed (0)
  2. pkg/controller/disruption/disruption_test.go

    	actualPDB.Status.Conditions = nil
    	expectedStatus := policy.PodDisruptionBudgetStatus{
    		DisruptionsAllowed: disruptionsAllowed,
    		CurrentHealthy:     currentHealthy,
    		DesiredHealthy:     desiredHealthy,
    		ExpectedPods:       expectedPods,
    		DisruptedPods:      disruptedPodMap,
    		ObservedGeneration: actualPDB.Generation,
    	}
    	actualStatus := actualPDB.Status
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 50K bytes
    - Viewed (0)
  3. tests/test_application.py

    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/api_route", 200, {"message": "Hello World"}),
            ("/non_decorated_route", 200, {"message": "Hello World"}),
            ("/nonexistent", 404, {"detail": "Not Found"}),
        ],
    )
    def test_get_path(path, expected_status, expected_response):
        response = client.get(path)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 21:56:59 UTC 2024
    - 52.2K bytes
    - Viewed (0)
Back to top