airshipctl/cmd
Ian Howell 091fa09a23 [#50] Clean up temp files from unit tests
This commit adds the utility testing function TempDir, which provides a
tester with a temporary directory as well as a means of cleaning up that
directory. The new function is implemented everywhere that makes sense
throughout the code base.

This also cleans up the directories left behind by go-git's testing
fixtures.

Some light refactoring was also performed in this change.

Change-Id: I754484934660487140f57671bacb5463cf669e3e
2020-02-20 11:48:11 -06:00
..
bootstrap Switch remote direct to airshipctl configuration 2020-02-07 22:01:45 +04:00
cluster Update references to 'kubernetes' to proper name 2019-10-30 11:37:43 -05:00
completion [#34] Add tests to commands expecting N args 2020-02-12 14:11:30 +00:00
config [#50] Clean up temp files from unit tests 2020-02-20 11:48:11 -06:00
document [#50] Clean up temp files from unit tests 2020-02-20 11:48:11 -06:00
testdata Add testing expectations 2019-11-07 11:37:53 -06:00
root_test.go [#28] Fix bad defaults for config file paths. 2020-02-10 16:25:43 -06:00
root.go Fix various code style issues 2020-02-07 09:28:18 -06:00
version_test.go Add testing expectations 2019-11-07 11:37:53 -06:00
version.go Rename module to reflect its new location 2019-07-01 12:15:29 -05:00