hammer_cli_katello 0.18.2 → 0.19.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.
- checksums.yaml +4 -4
- data/lib/hammer_cli_katello/activation_key.rb +9 -8
- data/lib/hammer_cli_katello/content_view_version.rb +44 -3
- data/lib/hammer_cli_katello/cv_import_export_helper.rb +1 -1
- data/lib/hammer_cli_katello/erratum.rb +2 -0
- data/lib/hammer_cli_katello/filter.rb +1 -0
- data/lib/hammer_cli_katello/host_collection.rb +7 -0
- data/lib/hammer_cli_katello/host_extensions.rb +11 -1
- data/lib/hammer_cli_katello/package.rb +15 -0
- data/lib/hammer_cli_katello/repository.rb +2 -1
- data/lib/hammer_cli_katello/subscription.rb +1 -0
- data/lib/hammer_cli_katello/version.rb +1 -1
- data/test/data/3.12/foreman_api.json +1 -1
- data/test/data/3.13/foreman_api.json +1 -0
- data/test/functional/activation_key/data/activation_key.json +17 -0
- data/test/functional/activation_key/info_test.rb +29 -0
- data/test/functional/activation_key/subscriptions_test.rb +18 -2
- data/test/functional/content_view/filter/list_test.rb +9 -9
- data/test/functional/content_view/filter/update_test.rb +4 -3
- data/test/functional/content_view/publish_test.rb +1 -0
- data/test/functional/content_view/version/default_export_test.rb +40 -0
- data/test/functional/content_view/version/export_test.rb +56 -1
- data/test/functional/host/extensions/data/host.json +3 -0
- data/test/functional/host/extensions/info_test.rb +4 -1
- data/test/functional/host/extensions/update_test.rb +4 -2
- data/test/functional/repository/upload_test.rb +143 -68
- data/test/functional/subscription/list_test.rb +1 -1
- data/test/test_helper.rb +1 -1
- metadata +13 -4
@@ -195,7 +195,7 @@ describe 'content-view version export' do
|
|
195
195
|
ex = api_expects(:content_view_versions, :show)
|
196
196
|
ex.returns(
|
197
197
|
'id' => '5',
|
198
|
-
'repositories' => [{'id' => '2'}],
|
198
|
+
'repositories' => [{'id' => '2'}, {'id' => '3'}],
|
199
199
|
'major' => 1,
|
200
200
|
'minor' => 0,
|
201
201
|
'content_view' => {'name' => 'cv'},
|
@@ -213,21 +213,42 @@ describe 'content-view version export' do
|
|
213
213
|
ex.returns(
|
214
214
|
'id' => '2',
|
215
215
|
'label' => 'Test_Repo',
|
216
|
+
'name' => 'Test_Repo',
|
216
217
|
'content_type' => 'yum',
|
217
218
|
'backend_identifier' => 'Default_Organization-Library-Test_Repo',
|
218
219
|
'relative_path' => 'Default_Organization/Library/Test_Repo',
|
219
220
|
'library_instance_id' => '1'
|
220
221
|
)
|
221
222
|
|
223
|
+
api_expects(:repositories, :show).with_params('id' => '3').returns(
|
224
|
+
'id' => '3',
|
225
|
+
'label' => 'Test_Repo_3',
|
226
|
+
'name' => 'Test_Repo_3',
|
227
|
+
'content_type' => 'yum',
|
228
|
+
'backend_identifier' => 'Default_Organization-Library-Test_Repo_3',
|
229
|
+
'relative_path' => 'Default_Organization/Library/Test_Repo_3',
|
230
|
+
'library_instance_id' => '4'
|
231
|
+
)
|
232
|
+
|
222
233
|
api_expects(:repositories, :show).with_params('id' => '1').returns(
|
223
234
|
'id' => '1',
|
224
235
|
'download_policy' => 'on_demand'
|
225
236
|
)
|
237
|
+
api_expects(:repositories, :show).with_params('id' => '4').returns(
|
238
|
+
'id' => '4',
|
239
|
+
'download_policy' => 'immediate'
|
240
|
+
)
|
226
241
|
|
227
242
|
File.expects(:exist?).with('/usr/share/foreman').returns(true)
|
228
243
|
File.stubs(:exist?).with('/var/log/hammer/hammer.log._copy_').returns(false)
|
229
244
|
|
230
245
|
result = run_cmd(@cmd + params)
|
246
|
+
assert_equal(result.err, "Could not export the content view:\n" \
|
247
|
+
" Error: All exported repositories must be set to an "\
|
248
|
+
"immediate download policy and re-synced.\n" \
|
249
|
+
" The following repositories need action:\n" \
|
250
|
+
" Test_Repo\n" \
|
251
|
+
)
|
231
252
|
assert_equal(HammerCLI::EX_SOFTWARE, result.exit_code)
|
232
253
|
end
|
233
254
|
|
@@ -269,4 +290,38 @@ describe 'content-view version export' do
|
|
269
290
|
result = run_cmd(@cmd + params)
|
270
291
|
assert_equal(result.exit_code, 70)
|
271
292
|
end
|
293
|
+
|
294
|
+
it "fails export if content view version has no repository" do
|
295
|
+
params = [
|
296
|
+
'--id=5',
|
297
|
+
'--export-dir=/tmp/exports'
|
298
|
+
]
|
299
|
+
|
300
|
+
ex = api_expects(:content_view_versions, :show)
|
301
|
+
ex.returns(
|
302
|
+
'id' => '5',
|
303
|
+
'name' => 'Test_version',
|
304
|
+
'repositories' => [],
|
305
|
+
'major' => 1,
|
306
|
+
'minor' => 0,
|
307
|
+
'content_view' => {'name' => 'cv'},
|
308
|
+
'content_view_id' => 4321,
|
309
|
+
'puppet_modules' => []
|
310
|
+
)
|
311
|
+
|
312
|
+
ex = api_expects(:content_views, :show)
|
313
|
+
ex.returns(
|
314
|
+
'id' => '4321',
|
315
|
+
'composite' => false
|
316
|
+
)
|
317
|
+
|
318
|
+
File.expects(:exist?).with('/usr/share/foreman').returns(true)
|
319
|
+
File.stubs(:exist?).with('/var/log/hammer/hammer.log._copy_').returns(false)
|
320
|
+
|
321
|
+
result = run_cmd(@cmd + params)
|
322
|
+
assert_equal(result.err, "Could not export the content view:\n"\
|
323
|
+
" Error: Ensure the content view version 'Test_version'"\
|
324
|
+
" has at least one repository.\n")
|
325
|
+
assert_equal(HammerCLI::EX_SOFTWARE, result.exit_code)
|
326
|
+
end
|
272
327
|
end
|
@@ -106,6 +106,9 @@
|
|
106
106
|
"last_checkin":"2016-05-26 10:46:18 -0400",
|
107
107
|
"service_level":"high",
|
108
108
|
"release_version":"7Server",
|
109
|
+
"purpose_usage":"Production",
|
110
|
+
"purpose_role":"Role",
|
111
|
+
"purpose_addons":"Test Addon1, Test Addon2",
|
109
112
|
"autoheal":true,
|
110
113
|
"registered_at":"2016-05-26 10:46:22 -0400",
|
111
114
|
"activation_keys":[
|
@@ -24,7 +24,10 @@ describe 'host info' do
|
|
24
24
|
['Bug Fix', '0'],
|
25
25
|
['Name', 'my host collection'],
|
26
26
|
['Applicable Packages', '5'],
|
27
|
-
['Upgradable Packages', '4']
|
27
|
+
['Upgradable Packages', '4'],
|
28
|
+
['Purpose Usage', 'Production'],
|
29
|
+
['Purpose Role', 'Role'],
|
30
|
+
['Purpose Addons', 'Test Addon1, Test Addon2']]
|
28
31
|
expected_results = expected_fields.map { |field| success_result(FieldMatcher.new(*field)) }
|
29
32
|
expected_results.each { |expected| assert_cmd(expected, result) }
|
30
33
|
end
|
@@ -27,11 +27,13 @@ module HammerCLIForeman
|
|
27
27
|
|
28
28
|
api_expects(:hosts, :update).
|
29
29
|
with_params('id' => host_id.to_s,
|
30
|
+
'organization_id' => organization_id,
|
30
31
|
'host' => {
|
31
|
-
'
|
32
|
+
'puppetclass_ids' => [],
|
33
|
+
'compute_attributes' => {},
|
32
34
|
'content_facet_attributes' => {
|
33
|
-
'lifecycle_environment_id' => env_id,
|
34
35
|
'content_view_id' => cv_id,
|
36
|
+
'lifecycle_environment_id' => env_id,
|
35
37
|
'kickstart_repository_id' => repo_id
|
36
38
|
}
|
37
39
|
})
|
@@ -29,28 +29,27 @@ describe 'upload repository' do
|
|
29
29
|
|
30
30
|
params = ["--id=#{repo_id}", "--path=#{path}"]
|
31
31
|
|
32
|
-
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
33
|
-
|
34
|
-
end
|
32
|
+
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
33
|
+
.with_params('repository_id' => repo_id)
|
35
34
|
|
36
35
|
ex.returns(upload_response)
|
37
36
|
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
37
|
+
# rubocop:disable LineLength
|
38
|
+
ex2 = api_expects(:repositories, :import_uploads, 'Take in an upload')
|
39
|
+
.with_params(:id => repo_id, :sync_capsule => true, :publish_repository => true,
|
40
|
+
:uploads => [{
|
41
|
+
:id => '1234',
|
42
|
+
:name => 'test.rpm',
|
43
|
+
:size => 0,
|
44
|
+
:checksum => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
45
|
+
}]
|
46
|
+
)
|
47
|
+
# rubocop:enable LineLength
|
48
48
|
|
49
49
|
ex2.returns("")
|
50
50
|
|
51
|
-
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
52
|
-
|
53
|
-
end
|
51
|
+
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
52
|
+
.with_params('id' => upload_id, 'repository_id' => repo_id)
|
54
53
|
|
55
54
|
ex3.returns("")
|
56
55
|
|
@@ -59,6 +58,74 @@ describe 'upload repository' do
|
|
59
58
|
File.delete("test.rpm")
|
60
59
|
end
|
61
60
|
|
61
|
+
it "uploads srpm with content-type" do
|
62
|
+
File.new("test.src.rpm", "w")
|
63
|
+
|
64
|
+
params = ["--id=#{repo_id}", '--path=./test.src.rpm', '--content-type=srpm']
|
65
|
+
|
66
|
+
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
67
|
+
.with_params('repository_id' => repo_id)
|
68
|
+
|
69
|
+
ex.returns(upload_response)
|
70
|
+
|
71
|
+
# rubocop:disable LineLength
|
72
|
+
ex2 = api_expects(:repositories, :import_uploads, 'Take in an upload')
|
73
|
+
.with_params(:id => repo_id, :sync_capsule => true, :publish_repository => true, :content_type => 'srpm',
|
74
|
+
:uploads => [{
|
75
|
+
:id => '1234',
|
76
|
+
:name => 'test.src.rpm',
|
77
|
+
:size => 0,
|
78
|
+
:checksum => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
79
|
+
}]
|
80
|
+
)
|
81
|
+
|
82
|
+
# rubocop:enable LineLength
|
83
|
+
ex2.returns("")
|
84
|
+
|
85
|
+
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
86
|
+
.with_params(:id => upload_id, :repository_id => repo_id)
|
87
|
+
|
88
|
+
ex3.returns("")
|
89
|
+
|
90
|
+
result = run_cmd(@cmd + params)
|
91
|
+
assert_equal(result.exit_code, 0)
|
92
|
+
File.delete("test.src.rpm")
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'fails upload of srpm with no content-type' do
|
96
|
+
File.new("test.src.rpm", "w")
|
97
|
+
|
98
|
+
params = ["--id=#{repo_id}", '--path=./test.src.rpm']
|
99
|
+
|
100
|
+
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
101
|
+
.with_params('repository_id' => repo_id)
|
102
|
+
|
103
|
+
ex.returns(upload_response)
|
104
|
+
|
105
|
+
# rubocop:disable LineLength
|
106
|
+
ex2 = api_expects(:repositories, :import_uploads, 'Take in an upload')
|
107
|
+
.with_params(:id => repo_id, :sync_capsule => true, :publish_repository => true,
|
108
|
+
:uploads => [{
|
109
|
+
:id => '1234',
|
110
|
+
:name => 'test.src.rpm',
|
111
|
+
:size => 0,
|
112
|
+
:checksum => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
113
|
+
}]
|
114
|
+
)
|
115
|
+
# rubocop:enable LineLength
|
116
|
+
|
117
|
+
ex2.returns(400)
|
118
|
+
|
119
|
+
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
120
|
+
.with_params(:id => upload_id, :repository_id => repo_id)
|
121
|
+
|
122
|
+
ex3.returns("")
|
123
|
+
|
124
|
+
result = run_cmd(@cmd + params)
|
125
|
+
assert_equal(result.exit_code, 65)
|
126
|
+
File.delete("test.src.rpm")
|
127
|
+
end
|
128
|
+
|
62
129
|
it "uploads a docker image" do
|
63
130
|
File.new("test.rpm", "w")
|
64
131
|
|
@@ -103,28 +170,27 @@ describe 'upload repository' do
|
|
103
170
|
|
104
171
|
expect_repository_search(product_id, 'test_repo', repo_id)
|
105
172
|
|
106
|
-
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
107
|
-
|
108
|
-
end
|
173
|
+
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
174
|
+
.with_params(:repository_id => repo_id)
|
109
175
|
|
110
176
|
ex.returns(upload_response)
|
111
177
|
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
178
|
+
# rubocop:disable LineLength
|
179
|
+
ex2 = api_expects(:repositories, :import_uploads, 'Take in an upload')
|
180
|
+
.with_params(:id => repo_id, :sync_capsule => true, :publish_repository => true,
|
181
|
+
:uploads => [{
|
182
|
+
:id => '1234',
|
183
|
+
:name => 'test.rpm',
|
184
|
+
:size => 0,
|
185
|
+
:checksum => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
186
|
+
}]
|
187
|
+
)
|
188
|
+
# rubocop:enable LineLength
|
122
189
|
|
123
190
|
ex2.returns("")
|
124
191
|
|
125
|
-
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
126
|
-
|
127
|
-
end
|
192
|
+
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
193
|
+
.with_params(:id => upload_id, :repository_id => repo_id)
|
128
194
|
|
129
195
|
ex3.returns("")
|
130
196
|
|
@@ -138,28 +204,27 @@ describe 'upload repository' do
|
|
138
204
|
|
139
205
|
params = ["--id=#{repo_id}", "--path={test}.[r{1}]pm"]
|
140
206
|
|
141
|
-
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
142
|
-
|
143
|
-
end
|
207
|
+
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
208
|
+
.with_params(:repository_id => repo_id)
|
144
209
|
|
145
210
|
ex.returns(upload_response)
|
146
211
|
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
212
|
+
# rubocop:disable LineLength
|
213
|
+
ex2 = api_expects(:repositories, :import_uploads, 'Take in an upload')
|
214
|
+
.with_params(:id => repo_id, :sync_capsule => true, :publish_repository => true,
|
215
|
+
:uploads => [{
|
216
|
+
:id => '1234',
|
217
|
+
:name => 'test.rpm',
|
218
|
+
:size => 0,
|
219
|
+
:checksum => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
220
|
+
}]
|
221
|
+
)
|
222
|
+
# rubocop:enable LineLength
|
157
223
|
|
158
224
|
ex2.returns("")
|
159
225
|
|
160
|
-
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
161
|
-
|
162
|
-
end
|
226
|
+
ex3 = api_expects(:content_uploads, :destroy, "Delete the upload")
|
227
|
+
.with_params(:id => upload_id, :repository_id => repo_id)
|
163
228
|
|
164
229
|
ex3.returns("")
|
165
230
|
|
@@ -176,43 +241,53 @@ describe 'upload repository' do
|
|
176
241
|
|
177
242
|
# Begin first upload cycle
|
178
243
|
|
179
|
-
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
180
|
-
|
181
|
-
end
|
244
|
+
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
245
|
+
.with_params(:repository_id => repo_id)
|
182
246
|
|
183
247
|
ex.returns(upload_response)
|
184
248
|
|
185
|
-
|
186
|
-
|
187
|
-
|
188
|
-
|
249
|
+
# rubocop:disable LineLength
|
250
|
+
ex = api_expects(:repositories, :import_uploads, 'Take in an upload')
|
251
|
+
.with_params(:id => repo_id, :sync_capsule => false, :publish_repository => false,
|
252
|
+
:uploads => [{
|
253
|
+
:id => '1234',
|
254
|
+
:name => 'test1.rpm',
|
255
|
+
:size => 0,
|
256
|
+
:checksum => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
257
|
+
}]
|
258
|
+
)
|
259
|
+
# rubocop:enable LineLength
|
189
260
|
|
190
261
|
ex.returns("")
|
191
262
|
|
192
|
-
ex = api_expects(:content_uploads, :destroy, "Delete the upload")
|
193
|
-
|
194
|
-
end
|
263
|
+
ex = api_expects(:content_uploads, :destroy, "Delete the upload")
|
264
|
+
.with_params(:id => upload_id, :repository_id => repo_id)
|
195
265
|
|
196
266
|
ex.returns("")
|
197
267
|
|
198
268
|
# Begin second upload cycle
|
199
269
|
|
200
|
-
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
201
|
-
|
202
|
-
end
|
270
|
+
ex = api_expects(:content_uploads, :create, "Create upload for content")
|
271
|
+
.with_params(:repository_id => repo_id)
|
203
272
|
|
204
273
|
ex.returns(upload_response)
|
205
274
|
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
275
|
+
# rubocop:disable LineLength
|
276
|
+
ex = api_expects(:repositories, :import_uploads, 'Take in an upload')
|
277
|
+
.with_params(:id => repo_id, :sync_capsule => true, :publish_repository => true,
|
278
|
+
:uploads => [{
|
279
|
+
:id => '1234',
|
280
|
+
:name => 'test2.rpm',
|
281
|
+
:size => 0,
|
282
|
+
:checksum => 'e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855'
|
283
|
+
}]
|
284
|
+
)
|
285
|
+
# rubocop:enable LineLength
|
210
286
|
|
211
287
|
ex.returns("")
|
212
288
|
|
213
|
-
ex = api_expects(:content_uploads, :destroy, "Delete the upload")
|
214
|
-
|
215
|
-
end
|
289
|
+
ex = api_expects(:content_uploads, :destroy, "Delete the upload")
|
290
|
+
.with_params(:id => upload_id, :repository_id => repo_id)
|
216
291
|
|
217
292
|
ex.returns("")
|
218
293
|
|
@@ -36,7 +36,7 @@ module HammerCLIKatello
|
|
36
36
|
result = run_cmd(@cmd + params)
|
37
37
|
|
38
38
|
fields = ['ID', 'UUID', 'NAME', 'TYPE', 'CONTRACT', 'ACCOUNT', 'SUPPORT',
|
39
|
-
'END DATE', 'QUANTITY', 'CONSUMED']
|
39
|
+
'START DATE', 'END DATE', 'QUANTITY', 'CONSUMED']
|
40
40
|
expected_result = success_result(IndexMatcher.new([fields, []]))
|
41
41
|
assert_cmd(expected_result, result)
|
42
42
|
end
|
data/test/test_helper.rb
CHANGED
@@ -17,7 +17,7 @@ require 'minitest/spec'
|
|
17
17
|
require 'mocha/setup'
|
18
18
|
require 'hammer_cli'
|
19
19
|
|
20
|
-
KATELLO_VERSION = Gem::Version.new(ENV['TEST_API_VERSION'] || '3.
|
20
|
+
KATELLO_VERSION = Gem::Version.new(ENV['TEST_API_VERSION'] || '3.13')
|
21
21
|
|
22
22
|
if HammerCLI.context[:api_connection]
|
23
23
|
HammerCLI.context[:api_connection].create('foreman') do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_katello
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.19.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Price
|
@@ -11,6 +11,7 @@ authors:
|
|
11
11
|
- Bryan Kearney
|
12
12
|
- Chris Duryee
|
13
13
|
- Christine Fouant
|
14
|
+
- Chris Roberts
|
14
15
|
- Daniel Lobato García
|
15
16
|
- David Davis
|
16
17
|
- Dustin Tsang
|
@@ -34,7 +35,7 @@ authors:
|
|
34
35
|
autorequire:
|
35
36
|
bindir: bin
|
36
37
|
cert_chain: []
|
37
|
-
date: 2019-07
|
38
|
+
date: 2019-08-07 00:00:00.000000000 Z
|
38
39
|
dependencies:
|
39
40
|
- !ruby/object:Gem::Dependency
|
40
41
|
name: hammer_cli_foreman
|
@@ -42,14 +43,14 @@ dependencies:
|
|
42
43
|
requirements:
|
43
44
|
- - "~>"
|
44
45
|
- !ruby/object:Gem::Version
|
45
|
-
version: 0.
|
46
|
+
version: 0.18.0
|
46
47
|
type: :runtime
|
47
48
|
prerelease: false
|
48
49
|
version_requirements: !ruby/object:Gem::Requirement
|
49
50
|
requirements:
|
50
51
|
- - "~>"
|
51
52
|
- !ruby/object:Gem::Version
|
52
|
-
version: 0.
|
53
|
+
version: 0.18.0
|
53
54
|
- !ruby/object:Gem::Dependency
|
54
55
|
name: hammer_cli_foreman_tasks
|
55
56
|
requirement: !ruby/object:Gem::Requirement
|
@@ -316,6 +317,7 @@ files:
|
|
316
317
|
- test/data/3.10/foreman_api.json
|
317
318
|
- test/data/3.11/foreman_api.json
|
318
319
|
- test/data/3.12/foreman_api.json
|
320
|
+
- test/data/3.13/foreman_api.json
|
319
321
|
- test/data/3.2/foreman_api.json
|
320
322
|
- test/data/3.4/foreman_api.json
|
321
323
|
- test/data/3.5/foreman_api.json
|
@@ -327,6 +329,8 @@ files:
|
|
327
329
|
- test/functional/activation_key/add_host_collection_test.rb
|
328
330
|
- test/functional/activation_key/content_override_test.rb
|
329
331
|
- test/functional/activation_key/create_test.rb
|
332
|
+
- test/functional/activation_key/data/activation_key.json
|
333
|
+
- test/functional/activation_key/info_test.rb
|
330
334
|
- test/functional/activation_key/list_test.rb
|
331
335
|
- test/functional/activation_key/product_content_test.rb
|
332
336
|
- test/functional/activation_key/remove_host_collection_test.rb
|
@@ -369,6 +373,7 @@ files:
|
|
369
373
|
- test/functional/content_view/remove_content_view_version_test.rb
|
370
374
|
- test/functional/content_view/remove_test.rb
|
371
375
|
- test/functional/content_view/update_test.rb
|
376
|
+
- test/functional/content_view/version/default_export_test.rb
|
372
377
|
- test/functional/content_view/version/export_test.rb
|
373
378
|
- test/functional/content_view/version/import_test.rb
|
374
379
|
- test/functional/content_view/version/incremental_update_test.rb
|
@@ -500,6 +505,7 @@ test_files:
|
|
500
505
|
- test/data/3.10/foreman_api.json
|
501
506
|
- test/data/3.11/foreman_api.json
|
502
507
|
- test/data/3.12/foreman_api.json
|
508
|
+
- test/data/3.13/foreman_api.json
|
503
509
|
- test/data/3.2/foreman_api.json
|
504
510
|
- test/data/3.4/foreman_api.json
|
505
511
|
- test/data/3.5/foreman_api.json
|
@@ -511,6 +517,8 @@ test_files:
|
|
511
517
|
- test/functional/activation_key/add_host_collection_test.rb
|
512
518
|
- test/functional/activation_key/content_override_test.rb
|
513
519
|
- test/functional/activation_key/create_test.rb
|
520
|
+
- test/functional/activation_key/data/activation_key.json
|
521
|
+
- test/functional/activation_key/info_test.rb
|
514
522
|
- test/functional/activation_key/list_test.rb
|
515
523
|
- test/functional/activation_key/product_content_test.rb
|
516
524
|
- test/functional/activation_key/remove_host_collection_test.rb
|
@@ -553,6 +561,7 @@ test_files:
|
|
553
561
|
- test/functional/content_view/remove_content_view_version_test.rb
|
554
562
|
- test/functional/content_view/remove_test.rb
|
555
563
|
- test/functional/content_view/update_test.rb
|
564
|
+
- test/functional/content_view/version/default_export_test.rb
|
556
565
|
- test/functional/content_view/version/export_test.rb
|
557
566
|
- test/functional/content_view/version/import_test.rb
|
558
567
|
- test/functional/content_view/version/incremental_update_test.rb
|