airshipctl/cmd/document
Ruslan Aliev 79555848f2 Fix document pull unit test in cmd
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>
2020-08-03 23:29:10 -05:00
..
testdata Fix document pull unit test in cmd 2020-08-03 23:29:10 -05:00
document_test.go Implement document rendering sub-command 2020-05-22 12:05:44 +04:00
document.go Improve document pull command 2020-07-28 22:01:20 +00:00
plugin_test.go Increase code coverage 2020-04-28 13:46:06 -05:00
plugin.go Define a standard for creating commands 2020-04-24 10:50:59 -05:00
pull_test.go Fix document pull unit test in cmd 2020-08-03 23:29:10 -05:00
pull.go Improve document pull command 2020-07-28 22:01:20 +00:00