- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestUserContext (0.14 sec)
-
staging/src/k8s.io/apiserver/pkg/endpoints/request/context_test.go
} ctx = NewContext() _, ok = NamespaceFrom(ctx) if ok { t.Fatalf("Should not be ok because there is no namespace on the context") } } // TestUserContext validates that a userinfo can be get/set on a context object func TestUserContext(t *testing.T) { ctx := NewContext() _, ok := UserFrom(ctx) if ok { t.Fatalf("Should not be ok because there is no user.Info on the context") } ctx = WithUser(
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 2.7K bytes - Viewed (0)