airshipctl/cmd/document/testdata
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
..
TestDocumentGoldenOutput Implement document rendering sub-command 2020-05-22 12:05:44 +04:00
TestPluginGoldenOutput Increase code coverage 2020-04-28 13:46:06 -05:00
TestPullGoldenOutput Fix document pull unit test in cmd 2020-08-03 23:29:10 -05:00