k3s/test/fixtures/pkg/kubectl
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
..
builder Removed non-md files from docs. Moved doc yamls to test/fixtures. 2016-08-25 15:09:27 -07:00
cmd Add a unit test for applies and idempotent applys to the TPR entries. 2017-02-27 10:22:12 -08:00
OWNERS Add kubectl contributors to OWNERS test owners files. 2017-02-16 10:13:41 -08:00