Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for from (0.11 sec)

  1. istioctl/pkg/authz/authz_test.go

    	"istio.io/istio/istioctl/pkg/util/testutil"
    )
    
    func TestAuthz(t *testing.T) {
    	cases := []testutil.TestCase{
    		{
    			Args:           []string{"-f fake.yaml"},
    			ExpectedOutput: "Error: failed to get config dump from file  fake.yaml: open  fake.yaml: no such file or directory\n",
    			WantException:  true,
    		},
    		{
    			Args: []string{"-f", "testdata/configdump.yaml"},
    			ExpectedOutput: `ACTION   AuthorizationPolicy         RULES
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Jun 21 14:20:23 GMT 2023
    - 1.4K bytes
    - Viewed (0)
Back to top