hammer_cli_foreman 0.6.2 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (324) hide show
  1. checksums.yaml +4 -4
  2. data/config/foreman.yml +4 -0
  3. data/doc/host_create.md +4 -4
  4. data/doc/release_notes.md +24 -6
  5. data/lib/hammer_cli_foreman/associating_commands.rb +54 -0
  6. data/lib/hammer_cli_foreman/commands.rb +28 -7
  7. data/lib/hammer_cli_foreman/exception_handler.rb +18 -0
  8. data/lib/hammer_cli_foreman/exceptions.rb +1 -1
  9. data/lib/hammer_cli_foreman/host.rb +11 -6
  10. data/lib/hammer_cli_foreman/id_resolver.rb +10 -2
  11. data/lib/hammer_cli_foreman/partition_table.rb +1 -0
  12. data/lib/hammer_cli_foreman/smart_class_parameter.rb +5 -1
  13. data/lib/hammer_cli_foreman/smart_variable.rb +1 -1
  14. data/lib/hammer_cli_foreman/template.rb +29 -5
  15. data/lib/hammer_cli_foreman/testing/api_expectations.rb +6 -6
  16. data/lib/hammer_cli_foreman/user.rb +2 -1
  17. data/lib/hammer_cli_foreman/version.rb +1 -1
  18. data/locale/ca/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  19. data/locale/ca/hammer-cli-foreman.edit.po +2622 -0
  20. data/locale/ca/hammer-cli-foreman.po +2544 -0
  21. data/locale/ca/hammer-cli-foreman.po.time_stamp +0 -0
  22. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  23. data/locale/de/hammer-cli-foreman.edit.po +2613 -0
  24. data/locale/de/hammer-cli-foreman.po +132 -122
  25. data/locale/de/hammer-cli-foreman.po.time_stamp +0 -0
  26. data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  27. data/locale/en/hammer-cli-foreman.edit.po +2575 -0
  28. data/locale/en/hammer-cli-foreman.po +157 -8
  29. data/locale/en/hammer-cli-foreman.po.time_stamp +0 -0
  30. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  31. data/locale/en_GB/hammer-cli-foreman.edit.po +2582 -0
  32. data/locale/en_GB/hammer-cli-foreman.po +151 -141
  33. data/locale/en_GB/hammer-cli-foreman.po.time_stamp +0 -0
  34. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  35. data/locale/es/hammer-cli-foreman.edit.po +2625 -0
  36. data/locale/es/hammer-cli-foreman.po +110 -100
  37. data/locale/es/hammer-cli-foreman.po.time_stamp +0 -0
  38. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  39. data/locale/fr/hammer-cli-foreman.edit.po +2626 -0
  40. data/locale/fr/hammer-cli-foreman.po +110 -100
  41. data/locale/fr/hammer-cli-foreman.po.time_stamp +0 -0
  42. data/locale/hammer-cli-foreman.pot +390 -190
  43. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  44. data/locale/it/hammer-cli-foreman.edit.po +2601 -0
  45. data/locale/it/hammer-cli-foreman.po +139 -129
  46. data/locale/it/hammer-cli-foreman.po.time_stamp +0 -0
  47. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  48. data/locale/ja/hammer-cli-foreman.edit.po +2601 -0
  49. data/locale/ja/hammer-cli-foreman.po +140 -130
  50. data/locale/ja/hammer-cli-foreman.po.time_stamp +0 -0
  51. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  52. data/locale/ko/hammer-cli-foreman.edit.po +2599 -0
  53. data/locale/ko/hammer-cli-foreman.po +138 -128
  54. data/locale/ko/hammer-cli-foreman.po.time_stamp +0 -0
  55. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  56. data/locale/pt_BR/hammer-cli-foreman.edit.po +2628 -0
  57. data/locale/pt_BR/hammer-cli-foreman.po +112 -102
  58. data/locale/pt_BR/hammer-cli-foreman.po.time_stamp +0 -0
  59. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  60. data/locale/ru/hammer-cli-foreman.edit.po +2602 -0
  61. data/locale/ru/hammer-cli-foreman.po +265 -254
  62. data/locale/ru/hammer-cli-foreman.po.time_stamp +0 -0
  63. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  64. data/locale/zh_CN/hammer-cli-foreman.edit.po +2599 -0
  65. data/locale/zh_CN/hammer-cli-foreman.po +136 -126
  66. data/locale/zh_CN/hammer-cli-foreman.po.time_stamp +0 -0
  67. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  68. data/locale/zh_TW/hammer-cli-foreman.edit.po +2599 -0
  69. data/locale/zh_TW/hammer-cli-foreman.po +137 -127
  70. data/locale/zh_TW/hammer-cli-foreman.po.time_stamp +0 -0
  71. data/test/data/README.md +6 -1
  72. data/test/functional/commands/list_test.rb +141 -0
  73. data/test/functional/organization_test.rb +71 -0
  74. data/test/functional/smart_class_parameter_test.rb +61 -0
  75. data/test/functional/template_test.rb +80 -0
  76. data/test/functional/test_helper.rb +3 -0
  77. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +11 -0
  78. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +7 -0
  79. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +13 -0
  80. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +7 -0
  81. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +13 -0
  82. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +13 -0
  83. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +7 -0
  84. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +13 -0
  85. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +17 -0
  86. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +7 -0
  87. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +15 -0
  88. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +7 -0
  89. data/test/reports/TEST-HammerCLIForeman-Architecture.xml +7 -0
  90. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +11 -0
  91. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +7 -0
  92. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +13 -0
  93. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +17 -0
  94. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +7 -0
  95. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +13 -0
  96. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +7 -0
  97. data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +7 -0
  98. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +15 -0
  99. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +7 -0
  100. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +13 -0
  101. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +7 -0
  102. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +17 -0
  103. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +13 -0
  104. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +7 -0
  105. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +15 -0
  106. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +17 -0
  107. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +7 -0
  108. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +15 -0
  109. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +7 -0
  110. data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +7 -0
  111. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +11 -0
  112. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +7 -0
  113. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +13 -0
  114. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +7 -0
  115. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +15 -0
  116. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +7 -0
  117. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +21 -0
  118. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +13 -0
  119. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +7 -0
  120. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +13 -0
  121. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +17 -0
  122. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +7 -0
  123. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +17 -0
  124. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +7 -0
  125. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +15 -0
  126. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +7 -0
  127. data/test/reports/TEST-HammerCLIForeman-Domain.xml +7 -0
  128. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +11 -0
  129. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +7 -0
  130. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +13 -0
  131. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +7 -0
  132. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +17 -0
  133. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +13 -0
  134. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +7 -0
  135. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +13 -0
  136. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +17 -0
  137. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +7 -0
  138. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +15 -0
  139. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +7 -0
  140. data/test/reports/TEST-HammerCLIForeman-Environment.xml +7 -0
  141. data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +13 -0
  142. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +46 -0
  143. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +7 -0
  144. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +13 -0
  145. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +7 -0
  146. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +15 -0
  147. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +7 -0
  148. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +85 -0
  149. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +13 -0
  150. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +7 -0
  151. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +21 -0
  152. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +17 -0
  153. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +7 -0
  154. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +9 -0
  155. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +7 -0
  156. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +17 -0
  157. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +7 -0
  158. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +9 -0
  159. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +7 -0
  160. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +40 -0
  161. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +7 -0
  162. data/test/reports/TEST-HammerCLIForeman-Host.xml +7 -0
  163. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +11 -0
  164. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +7 -0
  165. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +11 -0
  166. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +7 -0
  167. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +13 -0
  168. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +7 -0
  169. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +29 -0
  170. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +11 -0
  171. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +7 -0
  172. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +27 -0
  173. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +17 -0
  174. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +7 -0
  175. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +15 -0
  176. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +7 -0
  177. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +13 -0
  178. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +7 -0
  179. data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +7 -0
  180. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +11 -0
  181. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +11 -0
  182. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +7 -0
  183. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +13 -0
  184. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +11 -0
  185. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +7 -0
  186. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +17 -0
  187. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +13 -0
  188. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +11 -0
  189. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +7 -0
  190. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +13 -0
  191. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +17 -0
  192. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +11 -0
  193. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +7 -0
  194. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +15 -0
  195. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +11 -0
  196. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +7 -0
  197. data/test/reports/TEST-HammerCLIForeman-Location.xml +7 -0
  198. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +13 -0
  199. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +7 -0
  200. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +13 -0
  201. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +7 -0
  202. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +23 -0
  203. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +13 -0
  204. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +7 -0
  205. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +15 -0
  206. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +17 -0
  207. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +7 -0
  208. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +17 -0
  209. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +7 -0
  210. data/test/reports/TEST-HammerCLIForeman-Medium.xml +7 -0
  211. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +11 -0
  212. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +7 -0
  213. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +13 -0
  214. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +7 -0
  215. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +13 -0
  216. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +7 -0
  217. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +27 -0
  218. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +13 -0
  219. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +7 -0
  220. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +17 -0
  221. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +17 -0
  222. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +7 -0
  223. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +15 -0
  224. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +7 -0
  225. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +17 -0
  226. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +7 -0
  227. data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +7 -0
  228. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +11 -0
  229. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +11 -0
  230. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +7 -0
  231. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +13 -0
  232. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +11 -0
  233. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +7 -0
  234. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +17 -0
  235. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +13 -0
  236. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +11 -0
  237. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +7 -0
  238. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +13 -0
  239. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +17 -0
  240. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +11 -0
  241. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +7 -0
  242. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +15 -0
  243. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +11 -0
  244. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +7 -0
  245. data/test/reports/TEST-HammerCLIForeman-Organization.xml +7 -0
  246. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +13 -0
  247. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +7 -0
  248. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +13 -0
  249. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +7 -0
  250. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +15 -0
  251. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +7 -0
  252. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +19 -0
  253. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +13 -0
  254. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +7 -0
  255. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +15 -0
  256. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +17 -0
  257. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +7 -0
  258. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +13 -0
  259. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +7 -0
  260. data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +7 -0
  261. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +13 -0
  262. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +7 -0
  263. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +13 -0
  264. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +7 -0
  265. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +21 -0
  266. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +13 -0
  267. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +7 -0
  268. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +15 -0
  269. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +11 -0
  270. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +7 -0
  271. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +15 -0
  272. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +7 -0
  273. data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +7 -0
  274. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +15 -0
  275. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +7 -0
  276. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +13 -0
  277. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +7 -0
  278. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +43 -0
  279. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +13 -0
  280. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +7 -0
  281. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +17 -0
  282. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +17 -0
  283. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +7 -0
  284. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +15 -0
  285. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +7 -0
  286. data/test/reports/TEST-HammerCLIForeman-Subnet.xml +7 -0
  287. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +15 -0
  288. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +7 -0
  289. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +11 -0
  290. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +7 -0
  291. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +12 -0
  292. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +7 -0
  293. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +17 -0
  294. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +11 -0
  295. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +7 -0
  296. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +15 -0
  297. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +17 -0
  298. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +7 -0
  299. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +9 -0
  300. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +7 -0
  301. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +11 -0
  302. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +7 -0
  303. data/test/reports/TEST-HammerCLIForeman-Template.xml +7 -0
  304. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +19 -0
  305. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +7 -0
  306. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +11 -0
  307. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +7 -0
  308. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +23 -0
  309. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +11 -0
  310. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +7 -0
  311. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +17 -0
  312. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +17 -0
  313. data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +7 -0
  314. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +11 -0
  315. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +7 -0
  316. data/test/reports/TEST-HammerCLIForeman-User.xml +7 -0
  317. data/test/reports/TEST-MiniTest-Spec.xml +7 -0
  318. data/test/unit/commands_test.rb +9 -9
  319. data/test/unit/data/test_api.json +43 -0
  320. data/test/unit/exception_handler_test.rb +20 -1
  321. data/test/unit/host_test.rb +12 -0
  322. data/test/unit/id_resolver_test.rb +18 -2
  323. data/test/unit/user_test.rb +1 -1
  324. metadata +561 -46
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Hostgroup::ListCommand" tests="0" time="0.000284606" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Hostgroup::SetParameterCommand::parameters" tests="4" time="0.007251793" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should accept name, value and hostgroup id" time="0.002583038" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should fail with value missing" time="0.001526559" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should fail with name missing" time="0.001406856" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0004_should fail with hostgroup id missing" time="0.001392081" assertions="1">
10
+ </testcase>
11
+ <system-out>
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Hostgroup::SetParameterCommand" tests="0" time="0.000448374" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Hostgroup::UpdateCommand::parameters" tests="3" time="0.00620628" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0001_should accept name, parent_id, environment_id, architecture_id, domain_id, puppet_proxy_id, operatingsystem_id and more" time="0.002981657" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should fail with no params" time="0.001455237" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should fail with id missing" time="0.001453401" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Hostgroup::UpdateCommand" tests="0" time="0.000364286" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Hostgroup" tests="0" time="0.000504872" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::CreateCommand::parameters" tests="2" time="0.00404191" failures="0" errors="0" skipped="0" assertions="2">
3
+ <testcase name="test_0002_should fail with name missing" time="0.001538128" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0001_should accept name" time="0.002215644" assertions="1">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::CreateCommand::resource disabled" tests="2" time="0.029019578" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should return error" time="0.002370397" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print error message" time="0.02615495" assertions="3">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::CreateCommand" tests="0" time="0.000232791" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::DeleteCommand::parameters" tests="3" time="0.005820904" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0001_should accept name" time="0.002401387" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should fail with name or id missing" time="0.001572225" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept id" time="0.001529708" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::DeleteCommand::resource disabled" tests="2" time="0.005580966" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should return error" time="0.002427654" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print error message" time="0.002811429" assertions="3">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::DeleteCommand" tests="0" time="0.000435697" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::InfoCommand::output" tests="5" time="0.011478559" failures="0" errors="0" skipped="0" assertions="9">
3
+ <testcase name="test_0001_should print 1 records" time="0.002760412" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0005_should print column Updated at" time="0.002143545" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0004_should print column Created at" time="0.001973965" assertions="2">
8
+ </testcase>
9
+ <testcase name="test_0003_should print column Id" time="0.001946099" assertions="2">
10
+ </testcase>
11
+ <testcase name="test_0002_should print column Name" time="0.002271262" assertions="2">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::InfoCommand::parameters" tests="3" time="0.041063095" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0003_should fail with no arguments" time="0.036603533" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0001_should accept id" time="0.002101729" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept name" time="0.001875806" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::InfoCommand::resource disabled" tests="2" time="0.006584722" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should return error" time="0.002875611" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print error message" time="0.003199843" assertions="3">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::InfoCommand" tests="0" time="0.000364269" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::ListCommand::output" tests="3" time="0.008149963" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0001_should print records" time="0.00322798" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print column Name" time="0.002426364" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0003_should print column Id" time="0.002143636" assertions="2">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::ListCommand::parameters" tests="5" time="0.009579976" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0001_should accept no arguments" time="0.002213474" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0004_should accept page" time="0.001657142" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept search" time="0.001623476" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0003_should accept per page" time="0.001854009" assertions="1">
10
+ </testcase>
11
+ <testcase name="test_0005_should accept order" time="0.001633539" assertions="1">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::ListCommand::resource disabled" tests="2" time="0.005195602" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should return error" time="0.002168813" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print error message" time="0.002565398" assertions="3">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::ListCommand" tests="0" time="0.000456981" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::UpdateCommand::parameters" tests="4" time="0.008588467" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should accept name" time="0.002640949" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should fail with no params" time="0.001636419" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept id" time="0.001987195" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0004_should fail with name or id missing" time="0.002001532" assertions="1">
10
+ </testcase>
11
+ <system-out>
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,11 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::UpdateCommand::resource disabled" tests="2" time="0.005695822" failures="0" errors="0" skipped="0" assertions="4">
3
+ <testcase name="test_0001_should return error" time="0.002445118" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print error message" time="0.002783319" assertions="3">
6
+ </testcase>
7
+ <system-out>
8
+ </system-out>
9
+ <system-err>
10
+ </system-err>
11
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location::UpdateCommand" tests="0" time="0.00038046" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Location" tests="0" time="0.000304849" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::CreateCommand::parameters" tests="3" time="0.00573696" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0001_should accept name, path, os ids" time="0.002713527" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should fail with name missing" time="0.00138359" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0003_should fail with path missing" time="0.001331523" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::CreateCommand" tests="0" time="0.000273338" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::DeleteCommand::parameters" tests="3" time="0.005510134" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0001_should accept name" time="0.002312353" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should fail with name or id missing" time="0.001458924" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept id" time="0.001437147" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::DeleteCommand" tests="0" time="0.000331715" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,23 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::InfoCommand::output" tests="8" time="0.078303212" failures="0" errors="0" skipped="0" assertions="15">
3
+ <testcase name="test_0004_should print column Path" time="0.002880449" assertions="2">
4
+ </testcase>
5
+ <testcase name="test_0002_should print column Name" time="0.002832842" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0001_should print 1 records" time="0.002382948" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0006_should print column OS IDs" time="0.026304843" assertions="2">
10
+ </testcase>
11
+ <testcase name="test_0003_should print column Id" time="0.002323545" assertions="2">
12
+ </testcase>
13
+ <testcase name="test_0007_should print column Created at" time="0.002577747" assertions="2">
14
+ </testcase>
15
+ <testcase name="test_0005_should print column OS Family" time="0.002412565" assertions="2">
16
+ </testcase>
17
+ <testcase name="test_0008_should print column Updated at" time="0.036167747" assertions="2">
18
+ </testcase>
19
+ <system-out>
20
+ </system-out>
21
+ <system-err>
22
+ </system-err>
23
+ </testsuite>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::InfoCommand::parameters" tests="3" time="0.0066735" failures="0" errors="0" skipped="0" assertions="3">
3
+ <testcase name="test_0001_should accept id" time="0.002508985" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0003_should fail with no arguments" time="0.001670775" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0002_should accept name" time="0.001972029" assertions="1">
8
+ </testcase>
9
+ <system-out>
10
+ </system-out>
11
+ <system-err>
12
+ </system-err>
13
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::InfoCommand" tests="0" time="0.000333416" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>
@@ -0,0 +1,15 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::ListCommand::output" tests="4" time="0.013864711" failures="0" errors="0" skipped="0" assertions="7">
3
+ <testcase name="test_0001_should print records" time="0.004283104" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should print column Name" time="0.003195645" assertions="2">
6
+ </testcase>
7
+ <testcase name="test_0004_should print column Path" time="0.002896755" assertions="2">
8
+ </testcase>
9
+ <testcase name="test_0003_should print column Id" time="0.00314264" assertions="2">
10
+ </testcase>
11
+ <system-out>
12
+ </system-out>
13
+ <system-err>
14
+ </system-err>
15
+ </testsuite>
@@ -0,0 +1,17 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::ListCommand::parameters" tests="5" time="0.012987913" failures="0" errors="0" skipped="0" assertions="5">
3
+ <testcase name="test_0005_should accept order" time="0.002809817" assertions="1">
4
+ </testcase>
5
+ <testcase name="test_0002_should accept search" time="0.002439702" assertions="1">
6
+ </testcase>
7
+ <testcase name="test_0004_should accept page" time="0.00236329" assertions="1">
8
+ </testcase>
9
+ <testcase name="test_0003_should accept per page" time="0.002479383" assertions="1">
10
+ </testcase>
11
+ <testcase name="test_0001_should accept no arguments" time="0.002362407" assertions="1">
12
+ </testcase>
13
+ <system-out>
14
+ </system-out>
15
+ <system-err>
16
+ </system-err>
17
+ </testsuite>
@@ -0,0 +1,7 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <testsuite name="HammerCLIForeman::Medium::ListCommand" tests="0" time="0.000398624" failures="0" errors="0" skipped="0" assertions="0">
3
+ <system-out>
4
+ </system-out>
5
+ <system-err>
6
+ </system-err>
7
+ </testsuite>