zest 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +185 -0
- data/Rakefile +8 -0
- data/api.json +1 -0
- data/config.json +6 -0
- data/docs/Artifact.md +17 -0
- data/docs/AsyncOperationResponse.md +8 -0
- data/docs/Distribution.md +16 -0
- data/docs/FileContent.md +12 -0
- data/docs/FilePublisher.md +14 -0
- data/docs/FileRemote.md +23 -0
- data/docs/InlineResponse200.md +11 -0
- data/docs/InlineResponse2001.md +11 -0
- data/docs/InlineResponse20010.md +11 -0
- data/docs/InlineResponse2002.md +11 -0
- data/docs/InlineResponse2003.md +11 -0
- data/docs/InlineResponse2004.md +11 -0
- data/docs/InlineResponse2005.md +11 -0
- data/docs/InlineResponse2006.md +11 -0
- data/docs/InlineResponse2007.md +11 -0
- data/docs/InlineResponse2008.md +11 -0
- data/docs/InlineResponse2009.md +11 -0
- data/docs/ProgressReport.md +13 -0
- data/docs/Publication.md +13 -0
- data/docs/PulpApi.md +3056 -0
- data/docs/Repository.md +13 -0
- data/docs/RepositoryPublishURL.md +9 -0
- data/docs/RepositorySyncURL.md +9 -0
- data/docs/RepositoryVersion.md +17 -0
- data/docs/RepositoryVersionCreate.md +10 -0
- data/docs/Task.md +21 -0
- data/docs/User.md +11 -0
- data/docs/Worker.md +13 -0
- data/git_push.sh +55 -0
- data/katello_pulp_api-0.0.1.gem +0 -0
- data/katello_pulp_api.gemspec +46 -0
- data/lib/katello_pulp_api.rb +67 -0
- data/lib/katello_pulp_api/api/pulp_api.rb +3277 -0
- data/lib/katello_pulp_api/api_client.rb +389 -0
- data/lib/katello_pulp_api/api_error.rb +38 -0
- data/lib/katello_pulp_api/configuration.rb +209 -0
- data/lib/katello_pulp_api/models/artifact.rb +278 -0
- data/lib/katello_pulp_api/models/async_operation_response.rb +194 -0
- data/lib/katello_pulp_api/models/distribution.rb +350 -0
- data/lib/katello_pulp_api/models/file_content.rb +272 -0
- data/lib/katello_pulp_api/models/file_publisher.rb +306 -0
- data/lib/katello_pulp_api/models/file_remote.rb +452 -0
- data/lib/katello_pulp_api/models/inline_response_200.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_1.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_10.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_2.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_3.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_4.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_5.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_6.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_7.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_8.rb +227 -0
- data/lib/katello_pulp_api/models/inline_response_200_9.rb +227 -0
- data/lib/katello_pulp_api/models/progress_report.rb +271 -0
- data/lib/katello_pulp_api/models/publication.rb +249 -0
- data/lib/katello_pulp_api/models/repository.rb +260 -0
- data/lib/katello_pulp_api/models/repository_publish_url.rb +199 -0
- data/lib/katello_pulp_api/models/repository_sync_url.rb +206 -0
- data/lib/katello_pulp_api/models/repository_version.rb +277 -0
- data/lib/katello_pulp_api/models/repository_version_create.rb +223 -0
- data/lib/katello_pulp_api/models/task.rb +363 -0
- data/lib/katello_pulp_api/models/user.rb +284 -0
- data/lib/katello_pulp_api/models/worker.rb +254 -0
- data/lib/katello_pulp_api/version.rb +15 -0
- data/lib/zest.rb +67 -0
- data/lib/zest/api/pulp_api.rb +3277 -0
- data/lib/zest/api_client.rb +389 -0
- data/lib/zest/api_error.rb +38 -0
- data/lib/zest/configuration.rb +209 -0
- data/lib/zest/models/artifact.rb +278 -0
- data/lib/zest/models/async_operation_response.rb +194 -0
- data/lib/zest/models/distribution.rb +350 -0
- data/lib/zest/models/file_content.rb +272 -0
- data/lib/zest/models/file_publisher.rb +306 -0
- data/lib/zest/models/file_remote.rb +452 -0
- data/lib/zest/models/inline_response_200.rb +227 -0
- data/lib/zest/models/inline_response_200_1.rb +227 -0
- data/lib/zest/models/inline_response_200_10.rb +227 -0
- data/lib/zest/models/inline_response_200_2.rb +227 -0
- data/lib/zest/models/inline_response_200_3.rb +227 -0
- data/lib/zest/models/inline_response_200_4.rb +227 -0
- data/lib/zest/models/inline_response_200_5.rb +227 -0
- data/lib/zest/models/inline_response_200_6.rb +227 -0
- data/lib/zest/models/inline_response_200_7.rb +227 -0
- data/lib/zest/models/inline_response_200_8.rb +227 -0
- data/lib/zest/models/inline_response_200_9.rb +227 -0
- data/lib/zest/models/progress_report.rb +271 -0
- data/lib/zest/models/publication.rb +249 -0
- data/lib/zest/models/repository.rb +260 -0
- data/lib/zest/models/repository_publish_url.rb +199 -0
- data/lib/zest/models/repository_sync_url.rb +206 -0
- data/lib/zest/models/repository_version.rb +277 -0
- data/lib/zest/models/repository_version_create.rb +223 -0
- data/lib/zest/models/task.rb +363 -0
- data/lib/zest/models/user.rb +284 -0
- data/lib/zest/models/worker.rb +254 -0
- data/lib/zest/version.rb +15 -0
- data/spec/api/pulp_api_spec.rb +784 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/artifact_spec.rb +96 -0
- data/spec/models/async_operation_response_spec.rb +42 -0
- data/spec/models/distribution_spec.rb +90 -0
- data/spec/models/file_content_spec.rb +66 -0
- data/spec/models/file_publisher_spec.rb +78 -0
- data/spec/models/file_remote_spec.rb +136 -0
- data/spec/models/inline_response_200_10_spec.rb +60 -0
- data/spec/models/inline_response_200_1_spec.rb +60 -0
- data/spec/models/inline_response_200_2_spec.rb +60 -0
- data/spec/models/inline_response_200_3_spec.rb +60 -0
- data/spec/models/inline_response_200_4_spec.rb +60 -0
- data/spec/models/inline_response_200_5_spec.rb +60 -0
- data/spec/models/inline_response_200_6_spec.rb +60 -0
- data/spec/models/inline_response_200_7_spec.rb +60 -0
- data/spec/models/inline_response_200_8_spec.rb +60 -0
- data/spec/models/inline_response_200_9_spec.rb +60 -0
- data/spec/models/inline_response_200_spec.rb +60 -0
- data/spec/models/progress_report_spec.rb +72 -0
- data/spec/models/publication_spec.rb +72 -0
- data/spec/models/repository_publish_url_spec.rb +48 -0
- data/spec/models/repository_spec.rb +72 -0
- data/spec/models/repository_sync_url_spec.rb +48 -0
- data/spec/models/repository_version_create_spec.rb +54 -0
- data/spec/models/repository_version_spec.rb +96 -0
- data/spec/models/task_spec.rb +120 -0
- data/spec/models/user_spec.rb +60 -0
- data/spec/models/worker_spec.rb +72 -0
- data/spec/spec_helper.rb +111 -0
- data/zest.gemspec +46 -0
- metadata +391 -0
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::FileContent
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FileContent' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::FileContent.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FileContent' do
|
31
|
+
it 'should create an instance of FileContent' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::FileContent)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "_type"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "_artifact"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "relative_path"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
|
@@ -0,0 +1,78 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::FilePublisher
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FilePublisher' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::FilePublisher.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FilePublisher' do
|
31
|
+
it 'should create an instance of FilePublisher' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::FilePublisher)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "_type"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "name"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "_last_updated"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "distributions"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "manifest"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
end
|
78
|
+
|
@@ -0,0 +1,136 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::FileRemote
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'FileRemote' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::FileRemote.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of FileRemote' do
|
31
|
+
it 'should create an instance of FileRemote' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::FileRemote)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "_href"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_created"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "_type"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "name"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
describe 'test attribute "url"' do
|
60
|
+
it 'should work' do
|
61
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
describe 'test attribute "validate"' do
|
66
|
+
it 'should work' do
|
67
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
+
end
|
69
|
+
end
|
70
|
+
|
71
|
+
describe 'test attribute "ssl_ca_certificate"' do
|
72
|
+
it 'should work' do
|
73
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
describe 'test attribute "ssl_client_certificate"' do
|
78
|
+
it 'should work' do
|
79
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
+
end
|
81
|
+
end
|
82
|
+
|
83
|
+
describe 'test attribute "ssl_client_key"' do
|
84
|
+
it 'should work' do
|
85
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
86
|
+
end
|
87
|
+
end
|
88
|
+
|
89
|
+
describe 'test attribute "ssl_validation"' do
|
90
|
+
it 'should work' do
|
91
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
+
end
|
93
|
+
end
|
94
|
+
|
95
|
+
describe 'test attribute "proxy_url"' do
|
96
|
+
it 'should work' do
|
97
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
98
|
+
end
|
99
|
+
end
|
100
|
+
|
101
|
+
describe 'test attribute "username"' do
|
102
|
+
it 'should work' do
|
103
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
+
end
|
105
|
+
end
|
106
|
+
|
107
|
+
describe 'test attribute "password"' do
|
108
|
+
it 'should work' do
|
109
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
110
|
+
end
|
111
|
+
end
|
112
|
+
|
113
|
+
describe 'test attribute "_last_updated"' do
|
114
|
+
it 'should work' do
|
115
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
+
end
|
117
|
+
end
|
118
|
+
|
119
|
+
describe 'test attribute "download_concurrency"' do
|
120
|
+
it 'should work' do
|
121
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
describe 'test attribute "policy"' do
|
126
|
+
it 'should work' do
|
127
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
+
#validator = Petstore::EnumTest::EnumAttributeValidator.new('String', ["immediate", "on_demand", "streamed"])
|
129
|
+
#validator.allowable_values.each do |value|
|
130
|
+
# expect { @instance.policy = value }.not_to raise_error
|
131
|
+
#end
|
132
|
+
end
|
133
|
+
end
|
134
|
+
|
135
|
+
end
|
136
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::InlineResponse20010
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse20010' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::InlineResponse20010.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse20010' do
|
31
|
+
it 'should create an instance of InlineResponse20010' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::InlineResponse20010)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::InlineResponse2001
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2001' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::InlineResponse2001.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2001' do
|
31
|
+
it 'should create an instance of InlineResponse2001' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::InlineResponse2001)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|
@@ -0,0 +1,60 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp3 API
|
3
|
+
|
4
|
+
#No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
|
5
|
+
|
6
|
+
OpenAPI spec version: v3
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: 2.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for KatelloPulpApi::InlineResponse2002
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'InlineResponse2002' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = KatelloPulpApi::InlineResponse2002.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of InlineResponse2002' do
|
31
|
+
it 'should create an instance of InlineResponse2002' do
|
32
|
+
expect(@instance).to be_instance_of(KatelloPulpApi::InlineResponse2002)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "count"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "_next"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "previous"' do
|
48
|
+
it 'should work' do
|
49
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
53
|
+
describe 'test attribute "results"' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
60
|
+
|