79555848f2
TestPull unit test should not perform functional verification. The purpose of cmd unit tests should be testing proper cmd object creation, not actually run the command. Moreover, we don't have possibility to mock and track all the objects that created inside of called functions. We can only verify golden output with help or when command performs basic stuff just inside of RunE interface. Actual test of called methods performed in pkg module. Change-Id: I2ad6b76f67cbf59d798c0f2b93752b3e3b3b053d Signed-off-by: Ruslan Aliev <raliev@mirantis.com> |
||
---|---|---|
.. | ||
baremetal | ||
cluster | ||
completion | ||
config | ||
document | ||
image | ||
phase | ||
secret | ||
testdata | ||
root_test.go | ||
root.go | ||
version_test.go | ||
version.go |