k3s/test/fixtures/pkg/kubectl/cmd
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
..
apply Add a unit test for applies and idempotent applys to the TPR entries. 2017-02-27 10:22:12 -08:00
create install authentication.k8s.io/v1, add tests 2017-02-07 01:44:56 -05:00