Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNonEmptyList (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/endpoints/apiserver_test.go

    	}
    
    	if resp.StatusCode != http.StatusInternalServerError {
    		t.Errorf("Unexpected status: %d, Expected: %d, %#v", resp.StatusCode, http.StatusInternalServerError, resp)
    	}
    }
    
    func TestNonEmptyList(t *testing.T) {
    	storage := map[string]rest.Storage{}
    	simpleStorage := SimpleRESTStorage{
    		list: []genericapitesting.Simple{
    			{
    				ObjectMeta: metav1.ObjectMeta{Name: "something", Namespace: "other"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 01 20:15:22 UTC 2023
    - 158.7K bytes
    - Viewed (0)
Back to top