kubernetes/pkg/kubectl/cmd/testing
Hakan Baba 1cc30bdfb2 Add a unit test for applies and idempotent applys to the TPR entries.
The tests in apply_test follows the general pattern of other tests.
We load from a file in test/fixtures and mock the API server in the
function closure in the HttpClient call.
In PATCH request rount-tripper we check that the kubectl apply
implementation worked as expected.

References #40841
2017-02-27 10:22:12 -08:00
..
BUILD generated: bazel 2017-02-23 00:28:32 -05:00
fake.go Add a unit test for applies and idempotent applys to the TPR entries. 2017-02-27 10:22:12 -08:00