hammer_cli_foreman 0.9.0 → 0.10.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (364) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +5 -0
  3. data/README.md +1 -15
  4. data/doc/configuration.md +38 -0
  5. data/doc/developer_docs.md +4 -3
  6. data/doc/release_notes.md +18 -0
  7. data/doc/testing.md +133 -0
  8. data/lib/hammer_cli_foreman.rb +4 -2
  9. data/lib/hammer_cli_foreman/api/connection.rb +21 -7
  10. data/lib/hammer_cli_foreman/api/interactive_basic_auth.rb +1 -1
  11. data/lib/hammer_cli_foreman/api/session_authenticator_wrapper.rb +6 -1
  12. data/lib/hammer_cli_foreman/api/void_auth.rb +8 -0
  13. data/lib/hammer_cli_foreman/auth.rb +1 -1
  14. data/lib/hammer_cli_foreman/common_parameter.rb +1 -0
  15. data/lib/hammer_cli_foreman/config_group.rb +45 -0
  16. data/lib/hammer_cli_foreman/defaults.rb +6 -3
  17. data/lib/hammer_cli_foreman/exception_handler.rb +36 -7
  18. data/lib/hammer_cli_foreman/filter.rb +61 -0
  19. data/lib/hammer_cli_foreman/host.rb +7 -5
  20. data/lib/hammer_cli_foreman/hosts/common_update_options.rb +17 -2
  21. data/lib/hammer_cli_foreman/output/fields.rb +3 -2
  22. data/lib/hammer_cli_foreman/output/formatters.rb +3 -2
  23. data/lib/hammer_cli_foreman/parameter.rb +5 -2
  24. data/lib/hammer_cli_foreman/references.rb +1 -1
  25. data/lib/hammer_cli_foreman/role.rb +18 -1
  26. data/lib/hammer_cli_foreman/template.rb +10 -10
  27. data/lib/hammer_cli_foreman/testing/api_expectations.rb +108 -8
  28. data/lib/hammer_cli_foreman/user.rb +25 -0
  29. data/lib/hammer_cli_foreman/version.rb +1 -1
  30. data/locale/ca/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  31. data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  32. data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  33. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  34. data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  35. data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  36. data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  37. data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  38. data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  39. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  40. data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  41. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  42. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
  43. data/test/data/1.14/_foreman_api.json +1 -0
  44. data/test/data/1.14/foreman_api.json +1 -0
  45. data/test/data/1.15/foreman_api.json +1 -0
  46. data/test/functional/host_test.rb +69 -1
  47. data/test/functional/role_test.rb +69 -0
  48. data/test/functional/template_test.rb +4 -4
  49. data/test/functional/test_helper.rb +0 -3
  50. data/test/functional/user_test.rb +85 -0
  51. data/test/test_helper.rb +4 -6
  52. data/test/unit/api/interactive_basic_auth_test.rb +2 -3
  53. data/test/unit/api/session_authenticator_wrapper_test.rb +24 -0
  54. data/test/unit/apipie_resource_mock.rb +180 -0
  55. data/test/unit/architecture_test.rb +3 -0
  56. data/test/unit/auth_source_ldap_test.rb +3 -0
  57. data/test/unit/commands_test.rb +2 -0
  58. data/test/unit/common_parameter_test.rb +13 -7
  59. data/test/unit/compute_resource_test.rb +6 -0
  60. data/test/unit/config_group_test.rb +72 -0
  61. data/test/unit/defaults_test.rb +28 -24
  62. data/test/unit/domain_test.rb +3 -0
  63. data/test/unit/environment_test.rb +3 -0
  64. data/test/unit/filter_test.rb +10 -2
  65. data/test/unit/host_test.rb +14 -1
  66. data/test/unit/hostgroup_test.rb +3 -0
  67. data/test/unit/image_test.rb +3 -0
  68. data/test/unit/media_test.rb +3 -0
  69. data/test/unit/model_test.rb +3 -0
  70. data/test/unit/partition_table_test.rb +3 -0
  71. data/test/unit/puppet_class_test.rb +3 -0
  72. data/test/unit/realm_test.rb +3 -0
  73. data/test/unit/report_test.rb +3 -0
  74. data/test/unit/smart_proxy_test.rb +3 -0
  75. data/test/unit/smart_variable_test.rb +0 -1
  76. data/test/unit/subnet_test.rb +3 -0
  77. data/test/unit/template_test.rb +9 -3
  78. data/test/unit/user_test.rb +6 -0
  79. data/test/unit/usergroup_test.rb +3 -0
  80. metadata +69 -577
  81. data/locale/Makefile +0 -57
  82. data/locale/README.md +0 -18
  83. data/locale/ca/hammer-cli-foreman.edit.po +0 -2910
  84. data/locale/ca/hammer-cli-foreman.po +0 -2823
  85. data/locale/ca/hammer-cli-foreman.po.time_stamp +0 -0
  86. data/locale/de/hammer-cli-foreman.edit.po +0 -2921
  87. data/locale/de/hammer-cli-foreman.po +0 -2827
  88. data/locale/de/hammer-cli-foreman.po.time_stamp +0 -0
  89. data/locale/en/hammer-cli-foreman.edit.po +0 -2865
  90. data/locale/en/hammer-cli-foreman.po +0 -2167
  91. data/locale/en/hammer-cli-foreman.po.time_stamp +0 -0
  92. data/locale/en_GB/hammer-cli-foreman.edit.po +0 -2888
  93. data/locale/en_GB/hammer-cli-foreman.po +0 -2825
  94. data/locale/en_GB/hammer-cli-foreman.po.time_stamp +0 -0
  95. data/locale/es/hammer-cli-foreman.edit.po +0 -2924
  96. data/locale/es/hammer-cli-foreman.po +0 -2829
  97. data/locale/es/hammer-cli-foreman.po.time_stamp +0 -0
  98. data/locale/fr/hammer-cli-foreman.edit.po +0 -2919
  99. data/locale/fr/hammer-cli-foreman.po +0 -2825
  100. data/locale/fr/hammer-cli-foreman.po.time_stamp +0 -0
  101. data/locale/hammer-cli-foreman.pot +0 -3080
  102. data/locale/it/hammer-cli-foreman.edit.po +0 -2909
  103. data/locale/it/hammer-cli-foreman.po +0 -2824
  104. data/locale/it/hammer-cli-foreman.po.time_stamp +0 -0
  105. data/locale/ja/hammer-cli-foreman.edit.po +0 -2919
  106. data/locale/ja/hammer-cli-foreman.po +0 -2824
  107. data/locale/ja/hammer-cli-foreman.po.time_stamp +0 -0
  108. data/locale/ko/hammer-cli-foreman.edit.po +0 -2917
  109. data/locale/ko/hammer-cli-foreman.po +0 -2823
  110. data/locale/ko/hammer-cli-foreman.po.time_stamp +0 -0
  111. data/locale/pt_BR/hammer-cli-foreman.edit.po +0 -2921
  112. data/locale/pt_BR/hammer-cli-foreman.po +0 -2826
  113. data/locale/pt_BR/hammer-cli-foreman.po.time_stamp +0 -0
  114. data/locale/ru/hammer-cli-foreman.edit.po +0 -2921
  115. data/locale/ru/hammer-cli-foreman.po +0 -2824
  116. data/locale/ru/hammer-cli-foreman.po.time_stamp +0 -0
  117. data/locale/zanata.xml +0 -28
  118. data/locale/zh_CN/hammer-cli-foreman.edit.po +0 -2917
  119. data/locale/zh_CN/hammer-cli-foreman.po +0 -2822
  120. data/locale/zh_CN/hammer-cli-foreman.po.time_stamp +0 -0
  121. data/locale/zh_TW/hammer-cli-foreman.edit.po +0 -2917
  122. data/locale/zh_TW/hammer-cli-foreman.po +0 -2822
  123. data/locale/zh_TW/hammer-cli-foreman.po.time_stamp +0 -0
  124. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand-parameters.xml +0 -11
  125. data/test/reports/TEST-HammerCLIForeman-Architecture-CreateCommand.xml +0 -7
  126. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand-parameters.xml +0 -13
  127. data/test/reports/TEST-HammerCLIForeman-Architecture-DeleteCommand.xml +0 -7
  128. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-output.xml +0 -13
  129. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand-parameters.xml +0 -13
  130. data/test/reports/TEST-HammerCLIForeman-Architecture-InfoCommand.xml +0 -7
  131. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-output.xml +0 -13
  132. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand-parameters.xml +0 -17
  133. data/test/reports/TEST-HammerCLIForeman-Architecture-ListCommand.xml +0 -7
  134. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand-parameters.xml +0 -15
  135. data/test/reports/TEST-HammerCLIForeman-Architecture-UpdateCommand.xml +0 -7
  136. data/test/reports/TEST-HammerCLIForeman-Architecture.xml +0 -7
  137. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand-parameters.xml +0 -11
  138. data/test/reports/TEST-HammerCLIForeman-CommonParameter-DeleteCommand.xml +0 -7
  139. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-output.xml +0 -13
  140. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand-parameters.xml +0 -17
  141. data/test/reports/TEST-HammerCLIForeman-CommonParameter-ListCommand.xml +0 -7
  142. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand-parameters.xml +0 -13
  143. data/test/reports/TEST-HammerCLIForeman-CommonParameter-SetCommand.xml +0 -7
  144. data/test/reports/TEST-HammerCLIForeman-CommonParameter.xml +0 -7
  145. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand-parameters.xml +0 -15
  146. data/test/reports/TEST-HammerCLIForeman-ComputeResource-CreateCommand.xml +0 -7
  147. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand-parameters.xml +0 -13
  148. data/test/reports/TEST-HammerCLIForeman-ComputeResource-DeleteCommand.xml +0 -7
  149. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-output.xml +0 -17
  150. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand-parameters.xml +0 -13
  151. data/test/reports/TEST-HammerCLIForeman-ComputeResource-InfoCommand.xml +0 -7
  152. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-output.xml +0 -15
  153. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand-parameters.xml +0 -17
  154. data/test/reports/TEST-HammerCLIForeman-ComputeResource-ListCommand.xml +0 -7
  155. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand-parameters.xml +0 -15
  156. data/test/reports/TEST-HammerCLIForeman-ComputeResource-UpdateCommand.xml +0 -7
  157. data/test/reports/TEST-HammerCLIForeman-ComputeResource.xml +0 -7
  158. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand-parameters.xml +0 -11
  159. data/test/reports/TEST-HammerCLIForeman-Domain-CreateCommand.xml +0 -7
  160. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand-parameters.xml +0 -13
  161. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteCommand.xml +0 -7
  162. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand-parameters.xml +0 -15
  163. data/test/reports/TEST-HammerCLIForeman-Domain-DeleteParameterCommand.xml +0 -7
  164. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-output.xml +0 -21
  165. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand-parameters.xml +0 -13
  166. data/test/reports/TEST-HammerCLIForeman-Domain-InfoCommand.xml +0 -7
  167. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-output.xml +0 -13
  168. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand-parameters.xml +0 -17
  169. data/test/reports/TEST-HammerCLIForeman-Domain-ListCommand.xml +0 -7
  170. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand-parameters.xml +0 -17
  171. data/test/reports/TEST-HammerCLIForeman-Domain-SetParameterCommand.xml +0 -7
  172. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand-parameters.xml +0 -15
  173. data/test/reports/TEST-HammerCLIForeman-Domain-UpdateCommand.xml +0 -7
  174. data/test/reports/TEST-HammerCLIForeman-Domain.xml +0 -7
  175. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand-parameters.xml +0 -11
  176. data/test/reports/TEST-HammerCLIForeman-Environment-CreateCommand.xml +0 -7
  177. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand-parameters.xml +0 -13
  178. data/test/reports/TEST-HammerCLIForeman-Environment-DeleteCommand.xml +0 -7
  179. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-output.xml +0 -17
  180. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand-parameters.xml +0 -13
  181. data/test/reports/TEST-HammerCLIForeman-Environment-InfoCommand.xml +0 -7
  182. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-output.xml +0 -13
  183. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand-parameters.xml +0 -17
  184. data/test/reports/TEST-HammerCLIForeman-Environment-ListCommand.xml +0 -7
  185. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand-parameters.xml +0 -15
  186. data/test/reports/TEST-HammerCLIForeman-Environment-UpdateCommand.xml +0 -7
  187. data/test/reports/TEST-HammerCLIForeman-Environment.xml +0 -7
  188. data/test/reports/TEST-HammerCLIForeman-ExceptionHandler.xml +0 -13
  189. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand-parameters.xml +0 -46
  190. data/test/reports/TEST-HammerCLIForeman-Host-CreateCommand.xml +0 -7
  191. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand-parameters.xml +0 -13
  192. data/test/reports/TEST-HammerCLIForeman-Host-DeleteCommand.xml +0 -7
  193. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand-parameters.xml +0 -15
  194. data/test/reports/TEST-HammerCLIForeman-Host-DeleteParameterCommand.xml +0 -7
  195. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-output.xml +0 -85
  196. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand-parameters.xml +0 -13
  197. data/test/reports/TEST-HammerCLIForeman-Host-InfoCommand.xml +0 -7
  198. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-output.xml +0 -21
  199. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand-parameters.xml +0 -17
  200. data/test/reports/TEST-HammerCLIForeman-Host-ListCommand.xml +0 -7
  201. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand-output.xml +0 -9
  202. data/test/reports/TEST-HammerCLIForeman-Host-PuppetRunCommand.xml +0 -7
  203. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand-parameters.xml +0 -17
  204. data/test/reports/TEST-HammerCLIForeman-Host-SetParameterCommand.xml +0 -7
  205. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand-output.xml +0 -9
  206. data/test/reports/TEST-HammerCLIForeman-Host-StatusCommand.xml +0 -7
  207. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand-parameters.xml +0 -40
  208. data/test/reports/TEST-HammerCLIForeman-Host-UpdateCommand.xml +0 -7
  209. data/test/reports/TEST-HammerCLIForeman-Host.xml +0 -7
  210. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand-parameters.xml +0 -11
  211. data/test/reports/TEST-HammerCLIForeman-Hostgroup-CreateCommand.xml +0 -7
  212. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand-parameters.xml +0 -11
  213. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteCommand.xml +0 -7
  214. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand-parameters.xml +0 -13
  215. data/test/reports/TEST-HammerCLIForeman-Hostgroup-DeleteParameterCommand.xml +0 -7
  216. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-output.xml +0 -29
  217. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand-parameters.xml +0 -11
  218. data/test/reports/TEST-HammerCLIForeman-Hostgroup-InfoCommand.xml +0 -7
  219. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-output.xml +0 -27
  220. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand-parameters.xml +0 -17
  221. data/test/reports/TEST-HammerCLIForeman-Hostgroup-ListCommand.xml +0 -7
  222. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand-parameters.xml +0 -15
  223. data/test/reports/TEST-HammerCLIForeman-Hostgroup-SetParameterCommand.xml +0 -7
  224. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand-parameters.xml +0 -13
  225. data/test/reports/TEST-HammerCLIForeman-Hostgroup-UpdateCommand.xml +0 -7
  226. data/test/reports/TEST-HammerCLIForeman-Hostgroup.xml +0 -7
  227. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-parameters.xml +0 -11
  228. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand-resource-disabled.xml +0 -11
  229. data/test/reports/TEST-HammerCLIForeman-Location-CreateCommand.xml +0 -7
  230. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-parameters.xml +0 -13
  231. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand-resource-disabled.xml +0 -11
  232. data/test/reports/TEST-HammerCLIForeman-Location-DeleteCommand.xml +0 -7
  233. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-output.xml +0 -17
  234. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-parameters.xml +0 -13
  235. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand-resource-disabled.xml +0 -11
  236. data/test/reports/TEST-HammerCLIForeman-Location-InfoCommand.xml +0 -7
  237. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-output.xml +0 -13
  238. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-parameters.xml +0 -17
  239. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand-resource-disabled.xml +0 -11
  240. data/test/reports/TEST-HammerCLIForeman-Location-ListCommand.xml +0 -7
  241. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-parameters.xml +0 -15
  242. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand-resource-disabled.xml +0 -11
  243. data/test/reports/TEST-HammerCLIForeman-Location-UpdateCommand.xml +0 -7
  244. data/test/reports/TEST-HammerCLIForeman-Location.xml +0 -7
  245. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand-parameters.xml +0 -13
  246. data/test/reports/TEST-HammerCLIForeman-Medium-CreateCommand.xml +0 -7
  247. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand-parameters.xml +0 -13
  248. data/test/reports/TEST-HammerCLIForeman-Medium-DeleteCommand.xml +0 -7
  249. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-output.xml +0 -23
  250. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand-parameters.xml +0 -13
  251. data/test/reports/TEST-HammerCLIForeman-Medium-InfoCommand.xml +0 -7
  252. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-output.xml +0 -15
  253. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand-parameters.xml +0 -17
  254. data/test/reports/TEST-HammerCLIForeman-Medium-ListCommand.xml +0 -7
  255. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand-parameters.xml +0 -17
  256. data/test/reports/TEST-HammerCLIForeman-Medium-UpdateCommand.xml +0 -7
  257. data/test/reports/TEST-HammerCLIForeman-Medium.xml +0 -7
  258. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand-parameters.xml +0 -11
  259. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-CreateCommand.xml +0 -7
  260. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand-parameters.xml +0 -13
  261. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteCommand.xml +0 -7
  262. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand-parameters.xml +0 -13
  263. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-DeleteParameterCommand.xml +0 -7
  264. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-output.xml +0 -27
  265. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand-parameters.xml +0 -13
  266. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-InfoCommand.xml +0 -7
  267. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-output.xml +0 -17
  268. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand-parameters.xml +0 -17
  269. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-ListCommand.xml +0 -7
  270. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand-parameters.xml +0 -15
  271. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-SetParameterCommand.xml +0 -7
  272. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand-parameters.xml +0 -17
  273. data/test/reports/TEST-HammerCLIForeman-OperatingSystem-UpdateCommand.xml +0 -7
  274. data/test/reports/TEST-HammerCLIForeman-OperatingSystem.xml +0 -7
  275. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-parameters.xml +0 -11
  276. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand-resource-disabled.xml +0 -11
  277. data/test/reports/TEST-HammerCLIForeman-Organization-CreateCommand.xml +0 -7
  278. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-parameters.xml +0 -13
  279. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand-resource-disabled.xml +0 -11
  280. data/test/reports/TEST-HammerCLIForeman-Organization-DeleteCommand.xml +0 -7
  281. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-output.xml +0 -17
  282. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-parameters.xml +0 -13
  283. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand-resource-disabled.xml +0 -11
  284. data/test/reports/TEST-HammerCLIForeman-Organization-InfoCommand.xml +0 -7
  285. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-output.xml +0 -13
  286. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-parameters.xml +0 -17
  287. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand-resource-disabled.xml +0 -11
  288. data/test/reports/TEST-HammerCLIForeman-Organization-ListCommand.xml +0 -7
  289. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-parameters.xml +0 -15
  290. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand-resource-disabled.xml +0 -11
  291. data/test/reports/TEST-HammerCLIForeman-Organization-UpdateCommand.xml +0 -7
  292. data/test/reports/TEST-HammerCLIForeman-Organization.xml +0 -7
  293. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand-parameters.xml +0 -13
  294. data/test/reports/TEST-HammerCLIForeman-PartitionTable-CreateCommand.xml +0 -7
  295. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand-parameters.xml +0 -13
  296. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DeleteCommand.xml +0 -7
  297. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand-parameters.xml +0 -15
  298. data/test/reports/TEST-HammerCLIForeman-PartitionTable-DumpCommand.xml +0 -7
  299. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-output.xml +0 -19
  300. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand-parameters.xml +0 -13
  301. data/test/reports/TEST-HammerCLIForeman-PartitionTable-InfoCommand.xml +0 -7
  302. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-output.xml +0 -15
  303. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand-parameters.xml +0 -17
  304. data/test/reports/TEST-HammerCLIForeman-PartitionTable-ListCommand.xml +0 -7
  305. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand-parameters.xml +0 -13
  306. data/test/reports/TEST-HammerCLIForeman-PartitionTable-UpdateCommand.xml +0 -7
  307. data/test/reports/TEST-HammerCLIForeman-PartitionTable.xml +0 -7
  308. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand-parameters.xml +0 -13
  309. data/test/reports/TEST-HammerCLIForeman-SmartProxy-CreateCommand.xml +0 -7
  310. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand-parameters.xml +0 -13
  311. data/test/reports/TEST-HammerCLIForeman-SmartProxy-DeleteCommand.xml +0 -7
  312. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-output.xml +0 -21
  313. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand-parameters.xml +0 -13
  314. data/test/reports/TEST-HammerCLIForeman-SmartProxy-InfoCommand.xml +0 -7
  315. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-output.xml +0 -15
  316. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand-parameters.xml +0 -11
  317. data/test/reports/TEST-HammerCLIForeman-SmartProxy-ListCommand.xml +0 -7
  318. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand-parameters.xml +0 -15
  319. data/test/reports/TEST-HammerCLIForeman-SmartProxy-UpdateCommand.xml +0 -7
  320. data/test/reports/TEST-HammerCLIForeman-SmartProxy.xml +0 -7
  321. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand-parameters.xml +0 -15
  322. data/test/reports/TEST-HammerCLIForeman-Subnet-CreateCommand.xml +0 -7
  323. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand-parameters.xml +0 -13
  324. data/test/reports/TEST-HammerCLIForeman-Subnet-DeleteCommand.xml +0 -7
  325. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-output.xml +0 -43
  326. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand-parameters.xml +0 -13
  327. data/test/reports/TEST-HammerCLIForeman-Subnet-InfoCommand.xml +0 -7
  328. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-output.xml +0 -17
  329. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand-parameters.xml +0 -17
  330. data/test/reports/TEST-HammerCLIForeman-Subnet-ListCommand.xml +0 -7
  331. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand-parameters.xml +0 -15
  332. data/test/reports/TEST-HammerCLIForeman-Subnet-UpdateCommand.xml +0 -7
  333. data/test/reports/TEST-HammerCLIForeman-Subnet.xml +0 -7
  334. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand-parameters.xml +0 -15
  335. data/test/reports/TEST-HammerCLIForeman-Template-CreateCommand.xml +0 -7
  336. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand-parameters.xml +0 -11
  337. data/test/reports/TEST-HammerCLIForeman-Template-DeleteCommand.xml +0 -7
  338. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand-parameters.xml +0 -12
  339. data/test/reports/TEST-HammerCLIForeman-Template-DumpCommand.xml +0 -7
  340. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-output.xml +0 -17
  341. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand-parameters.xml +0 -11
  342. data/test/reports/TEST-HammerCLIForeman-Template-InfoCommand.xml +0 -7
  343. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-output.xml +0 -15
  344. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand-parameters.xml +0 -17
  345. data/test/reports/TEST-HammerCLIForeman-Template-ListCommand.xml +0 -7
  346. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand-parameters.xml +0 -9
  347. data/test/reports/TEST-HammerCLIForeman-Template-ListKindsCommand.xml +0 -7
  348. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand-parameters.xml +0 -11
  349. data/test/reports/TEST-HammerCLIForeman-Template-UpdateCommand.xml +0 -7
  350. data/test/reports/TEST-HammerCLIForeman-Template.xml +0 -7
  351. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand-parameters.xml +0 -19
  352. data/test/reports/TEST-HammerCLIForeman-User-CreateCommand.xml +0 -7
  353. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand-parameters.xml +0 -11
  354. data/test/reports/TEST-HammerCLIForeman-User-DeleteCommand.xml +0 -7
  355. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-output.xml +0 -23
  356. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand-parameters.xml +0 -11
  357. data/test/reports/TEST-HammerCLIForeman-User-InfoCommand.xml +0 -7
  358. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-output.xml +0 -17
  359. data/test/reports/TEST-HammerCLIForeman-User-ListCommand-parameters.xml +0 -17
  360. data/test/reports/TEST-HammerCLIForeman-User-ListCommand.xml +0 -7
  361. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand-parameters.xml +0 -11
  362. data/test/reports/TEST-HammerCLIForeman-User-UpdateCommand.xml +0 -7
  363. data/test/reports/TEST-HammerCLIForeman-User.xml +0 -7
  364. data/test/reports/TEST-MiniTest-Spec.xml +0 -7
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::CreateCommand" tests="0" time="0.000259535" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::DeleteCommand::parameters" tests="3" time="0.03768351" failures="0" errors="0" skipped="0" assertions="3">
3
- <testcase name="test_0003_should fail with name or id missing" time="0.001692978" assertions="1">
4
- </testcase>
5
- <testcase name="test_0001_should accept name" time="0.034053177" assertions="1">
6
- </testcase>
7
- <testcase name="test_0002_should accept id" time="0.001570676" assertions="1">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::DeleteCommand" tests="0" time="0.000431863" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::DeleteParameterCommand::parameters" tests="4" time="0.007079383" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0001_should accept name and domain name" time="0.00243809" assertions="1">
4
- </testcase>
5
- <testcase name="test_0003_should fail with name missing" time="0.001373713" assertions="1">
6
- </testcase>
7
- <testcase name="test_0002_should accept name and domain id" time="0.001440251" assertions="1">
8
- </testcase>
9
- <testcase name="test_0004_should fail with domain name or id missing" time="0.001420746" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::DeleteParameterCommand" tests="0" time="0.000470202" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,21 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::InfoCommand::output" tests="7" time="0.021205887" failures="0" errors="0" skipped="0" assertions="13">
3
- <testcase name="test_0007_should print column Full Name" time="0.003756258" assertions="2">
4
- </testcase>
5
- <testcase name="test_0005_should print column Updated at" time="0.002661307" assertions="2">
6
- </testcase>
7
- <testcase name="test_0006_should print column DNS Id" time="0.002755753" assertions="2">
8
- </testcase>
9
- <testcase name="test_0002_should print column Id" time="0.003101217" assertions="2">
10
- </testcase>
11
- <testcase name="test_0003_should print column Name" time="0.003122952" assertions="2">
12
- </testcase>
13
- <testcase name="test_0001_should print 1 records" time="0.002778139" assertions="1">
14
- </testcase>
15
- <testcase name="test_0004_should print column Created at" time="0.002651995" assertions="2">
16
- </testcase>
17
- <system-out>
18
- </system-out>
19
- <system-err>
20
- </system-err>
21
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::InfoCommand::parameters" tests="3" time="0.007806046" failures="0" errors="0" skipped="0" assertions="3">
3
- <testcase name="test_0002_should accept name" time="0.002627554" assertions="1">
4
- </testcase>
5
- <testcase name="test_0001_should accept id" time="0.002606093" assertions="1">
6
- </testcase>
7
- <testcase name="test_0003_should fail with no arguments" time="0.002120568" assertions="1">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::InfoCommand" tests="0" time="0.000347125" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::ListCommand::output" tests="3" time="0.010859738" failures="0" errors="0" skipped="0" assertions="5">
3
- <testcase name="test_0001_should print records" time="0.004177838" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should print column Id" time="0.003075532" assertions="2">
6
- </testcase>
7
- <testcase name="test_0003_should print column Name" time="0.003291954" assertions="2">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::ListCommand::parameters" tests="5" time="0.014592936" failures="0" errors="0" skipped="0" assertions="5">
3
- <testcase name="test_0001_should accept no arguments" time="0.002852402" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should accept search" time="0.002633387" assertions="1">
6
- </testcase>
7
- <testcase name="test_0003_should accept per page" time="0.002863787" assertions="1">
8
- </testcase>
9
- <testcase name="test_0004_should accept page" time="0.002958846" assertions="1">
10
- </testcase>
11
- <testcase name="test_0005_should accept order" time="0.002658591" assertions="1">
12
- </testcase>
13
- <system-out>
14
- </system-out>
15
- <system-err>
16
- </system-err>
17
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::ListCommand" tests="0" time="0.000424284" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::SetParameterCommand::parameters" tests="5" time="0.030547957" failures="0" errors="0" skipped="0" assertions="5">
3
- <testcase name="test_0005_should fail with domain name or id missing" time="0.023268926" assertions="1">
4
- </testcase>
5
- <testcase name="test_0003_should fail with name missing" time="0.001773748" assertions="1">
6
- </testcase>
7
- <testcase name="test_0001_should accept name, value and domain name" time="0.002166679" assertions="1">
8
- </testcase>
9
- <testcase name="test_0004_should fail with value missing" time="0.001371319" assertions="1">
10
- </testcase>
11
- <testcase name="test_0002_should accept name, value and domain id" time="0.00162432" assertions="1">
12
- </testcase>
13
- <system-out>
14
- </system-out>
15
- <system-err>
16
- </system-err>
17
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::SetParameterCommand" tests="0" time="0.00045036" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::UpdateCommand::parameters" tests="4" time="0.00801234" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0001_should accept name" time="0.002750553" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should accept id" time="0.001739767" assertions="1">
6
- </testcase>
7
- <testcase name="test_0003_should fail with no params" time="0.001490449" assertions="1">
8
- </testcase>
9
- <testcase name="test_0004_should fail with name or id missing" time="0.00152413" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain::UpdateCommand" tests="0" time="0.000469476" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Domain" tests="0" time="0.000386164" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,11 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::CreateCommand::parameters" tests="2" time="0.004411362" failures="0" errors="0" skipped="0" assertions="2">
3
- <testcase name="test_0001_should accept name" time="0.002604664" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should fail with name missing" time="0.001360624" assertions="1">
6
- </testcase>
7
- <system-out>
8
- </system-out>
9
- <system-err>
10
- </system-err>
11
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::CreateCommand" tests="0" time="0.001253044" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::DeleteCommand::parameters" tests="3" time="0.005892007" failures="0" errors="0" skipped="0" assertions="3">
3
- <testcase name="test_0001_should accept name" time="0.002471071" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should accept id" time="0.001615478" assertions="1">
6
- </testcase>
7
- <testcase name="test_0003_should fail with name or id missing" time="0.001458307" assertions="1">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::DeleteCommand" tests="0" time="0.000352902" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::InfoCommand::output" tests="5" time="0.0123959" failures="0" errors="0" skipped="0" assertions="9">
3
- <testcase name="test_0003_should print column Id" time="0.002996116" assertions="2">
4
- </testcase>
5
- <testcase name="test_0001_should print 1 records" time="0.002447325" assertions="1">
6
- </testcase>
7
- <testcase name="test_0004_should print column Created at" time="0.002274455" assertions="2">
8
- </testcase>
9
- <testcase name="test_0002_should print column Name" time="0.00221664" assertions="2">
10
- </testcase>
11
- <testcase name="test_0005_should print column Updated at" time="0.002097452" assertions="2">
12
- </testcase>
13
- <system-out>
14
- </system-out>
15
- <system-err>
16
- </system-err>
17
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::InfoCommand::parameters" tests="3" time="0.006377583" failures="0" errors="0" skipped="0" assertions="3">
3
- <testcase name="test_0003_should fail with no arguments" time="0.001748498" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should accept name" time="0.002255961" assertions="1">
6
- </testcase>
7
- <testcase name="test_0001_should accept id" time="0.00184351" assertions="1">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::InfoCommand" tests="0" time="0.000444542" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::ListCommand::output" tests="3" time="0.009817015" failures="0" errors="0" skipped="0" assertions="5">
3
- <testcase name="test_0001_should print records" time="0.003578673" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should print column Name" time="0.002884789" assertions="2">
6
- </testcase>
7
- <testcase name="test_0003_should print column Id" time="0.003054037" assertions="2">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,17 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::ListCommand::parameters" tests="5" time="0.011724856" failures="0" errors="0" skipped="0" assertions="5">
3
- <testcase name="test_0005_should accept order" time="0.002709529" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should accept search" time="0.002186717" assertions="1">
6
- </testcase>
7
- <testcase name="test_0003_should accept per page" time="0.002117313" assertions="1">
8
- </testcase>
9
- <testcase name="test_0004_should accept page" time="0.002135382" assertions="1">
10
- </testcase>
11
- <testcase name="test_0001_should accept no arguments" time="0.002046164" assertions="1">
12
- </testcase>
13
- <system-out>
14
- </system-out>
15
- <system-err>
16
- </system-err>
17
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::ListCommand" tests="0" time="0.000386151" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,15 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::UpdateCommand::parameters" tests="4" time="0.007146572" failures="0" errors="0" skipped="0" assertions="4">
3
- <testcase name="test_0002_should accept id" time="0.00236042" assertions="1">
4
- </testcase>
5
- <testcase name="test_0003_should fail with no params" time="0.001403413" assertions="1">
6
- </testcase>
7
- <testcase name="test_0001_should accept name" time="0.001562302" assertions="1">
8
- </testcase>
9
- <testcase name="test_0004_should fail with name or id missing" time="0.001498799" assertions="1">
10
- </testcase>
11
- <system-out>
12
- </system-out>
13
- <system-err>
14
- </system-err>
15
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment::UpdateCommand" tests="0" time="0.000388384" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,7 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Environment" tests="0" time="0.000339519" failures="0" errors="0" skipped="0" assertions="0">
3
- <system-out>
4
- </system-out>
5
- <system-err>
6
- </system-err>
7
- </testsuite>
@@ -1,13 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::ExceptionHandler" tests="3" time="0.002359201" failures="0" errors="0" skipped="0" assertions="3">
3
- <testcase name="test_0001_should print resource errors on unprocessable entity exception" time="0.000538527" assertions="1">
4
- </testcase>
5
- <testcase name="test_0002_should handle argument error" time="0.000565465" assertions="1">
6
- </testcase>
7
- <testcase name="test_0003_should handle forbidden error" time="0.000857768" assertions="1">
8
- </testcase>
9
- <system-out>
10
- </system-out>
11
- <system-err>
12
- </system-err>
13
- </testsuite>
@@ -1,46 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <testsuite name="HammerCLIForeman::Host::CreateCommand::parameters" tests="7" time="0.038901649" failures="0" errors="1" skipped="0" assertions="6">
3
- <testcase name="test_0001_should accept name, environment_id, architecture_id, domain_id, puppet_proxy_id, operatingsystem_id and more" time="0.002791832" assertions="0">
4
- <error type="Clamp::UsageError" message="Unrecognised option '--model-id-id'">
5
- Unrecognised option '--model-id-id' (Clamp::UsageError)
6
- /home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/option/parsing.rb:62:in `find_option'
7
- /home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/option/parsing.rb:28:in `parse_options'
8
- /home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/command.rb:52:in `parse'
9
- /home/mbacovsk/.gem/ruby/gems/hammer_cli-0.0.2/lib/hammer_cli/abstract.rb:25:in `parse'
10
- /home/mbacovsk/.gem/ruby/gems/clamp-0.6.1/lib/clamp/command.rb:66:in `run'
11
- /home/mbacovsk/.gem/ruby/gems/hammer_cli-0.0.2/lib/hammer_cli/abstract.rb:17:in `run'
12
- /home/mbacovsk/work/theforeman/hammer-cli-foreman/test/unit/helpers/command.rb:15:in `block in it_should_accept'
13
- /home/mbacovsk/.gem/ruby/gems/minitest-4.7.5/lib/minitest/unit.rb:1258:in `run'
14
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:175:in `run_test'
15
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:102:in `_run_test'
16
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:93:in `block in _run_suite'
17
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:92:in `each'
18
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:92:in `_run_suite'
19
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:83:in `block in _run_suites'
20
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:83:in `map'
21
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:83:in `_run_suites'
22
- /home/mbacovsk/.gem/ruby/gems/ci_reporter-1.9.0/lib/ci/reporter/minitest.rb:75:in `_run_anything'
23
- /home/mbacovsk/.gem/ruby/gems/minitest-4.7.5/lib/minitest/unit.rb:1085:in `run_tests'
24
- /home/mbacovsk/.gem/ruby/gems/minitest-4.7.5/lib/minitest/unit.rb:1072:in `block in _run'
25
- /home/mbacovsk/.gem/ruby/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `each'
26
- /home/mbacovsk/.gem/ruby/gems/minitest-4.7.5/lib/minitest/unit.rb:1071:in `_run'
27
- /home/mbacovsk/.gem/ruby/gems/minitest-4.7.5/lib/minitest/unit.rb:1059:in `run'
28
- /home/mbacovsk/.gem/ruby/gems/minitest-4.7.5/lib/minitest/unit.rb:795:in `block in autorun' </error>
29
- </testcase>
30
- <testcase name="test_0006_should fail with puppet_proxy_id missing" time="0.024325115" assertions="1">
31
- </testcase>
32
- <testcase name="test_0003_should fail with environment_id missing" time="0.002576209" assertions="1">
33
- </testcase>
34
- <testcase name="test_0002_should fail with name or id missing" time="0.002155287" assertions="1">
35
- </testcase>
36
- <testcase name="test_0005_should fail with domain_id missing" time="0.002121267" assertions="1">
37
- </testcase>
38
- <testcase name="test_0007_should fail with operatingsystem_id missing" time="0.002175751" assertions="1">
39
- </testcase>
40
- <testcase name="test_0004_should fail with architecture_id missing" time="0.002385152" assertions="1">
41
- </testcase>
42
- <system-out>
43
- </system-out>
44
- <system-err>
45
- </system-err>
46
- </testsuite>