MCPcopy
hub / github.com/argoproj/argo-cd / TestForbiddenNamespace

Function TestForbiddenNamespace

test/e2e/app_namespaces_test.go:64–74  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

62}
63
64func TestForbiddenNamespace(t *testing.T) {
65 ctx := Given(t)
66 ctx.
67 Path(guestbookPath).
68 SetAppNamespace("forbidden").
69 When().
70 IgnoreErrors().
71 CreateApp().
72 Then().
73 Expect(DoesNotExist())
74}
75
76func TestDeletingNamespacedAppStuckInSync(t *testing.T) {
77 ctx := Given(t)

Callers

nothing calls this directly

Calls 9

DoesNotExistFunction · 0.85
CreateAppMethod · 0.80
SetAppNamespaceMethod · 0.80
GivenFunction · 0.50
ExpectMethod · 0.45
ThenMethod · 0.45
IgnoreErrorsMethod · 0.45
WhenMethod · 0.45
PathMethod · 0.45

Tested by

no test coverage detected