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> |
||
---|---|---|
.. | ||
testdata | ||
document_test.go | ||
document.go | ||
plugin_test.go | ||
plugin.go | ||
pull_test.go | ||
pull.go |