pulp_certguard_client 0.1.0rc4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +9 -0
  3. data/README.md +113 -0
  4. data/Rakefile +10 -0
  5. data/docs/CertguardRHSMCertGuard.md +25 -0
  6. data/docs/CertguardX509CertGuard.md +25 -0
  7. data/docs/ContentguardsRhsmApi.md +355 -0
  8. data/docs/ContentguardsX509Api.md +355 -0
  9. data/docs/InlineResponse200.md +23 -0
  10. data/docs/InlineResponse2001.md +23 -0
  11. data/git_push.sh +58 -0
  12. data/lib/pulp_certguard_client/api/contentguards_rhsm_api.rb +431 -0
  13. data/lib/pulp_certguard_client/api/contentguards_x509_api.rb +431 -0
  14. data/lib/pulp_certguard_client/api_client.rb +402 -0
  15. data/lib/pulp_certguard_client/api_error.rb +57 -0
  16. data/lib/pulp_certguard_client/configuration.rb +243 -0
  17. data/lib/pulp_certguard_client/models/certguard_rhsm_cert_guard.rb +310 -0
  18. data/lib/pulp_certguard_client/models/certguard_x509_cert_guard.rb +310 -0
  19. data/lib/pulp_certguard_client/models/inline_response200.rb +247 -0
  20. data/lib/pulp_certguard_client/models/inline_response2001.rb +247 -0
  21. data/lib/pulp_certguard_client/version.rb +15 -0
  22. data/lib/pulp_certguard_client.rb +45 -0
  23. data/pulp_certguard_client.gemspec +39 -0
  24. data/spec/api/contentguards_rhsm_api_spec.rb +117 -0
  25. data/spec/api/contentguards_x509_api_spec.rb +117 -0
  26. data/spec/api_client_spec.rb +188 -0
  27. data/spec/configuration_spec.rb +42 -0
  28. data/spec/models/certguard_rhsm_cert_guard_spec.rb +65 -0
  29. data/spec/models/certguard_x509_cert_guard_spec.rb +65 -0
  30. data/spec/models/inline_response2001_spec.rb +59 -0
  31. data/spec/models/inline_response200_spec.rb +59 -0
  32. data/spec/spec_helper.rb +111 -0
  33. metadata +137 -0
@@ -0,0 +1,117 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpCertguardClient::ContentguardsRhsmApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentguardsRhsmApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpCertguardClient::ContentguardsRhsmApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentguardsRhsmApi' do
30
+ it 'should create an instance of ContentguardsRhsmApi' do
31
+ expect(@api_instance).to be_instance_of(PulpCertguardClient::ContentguardsRhsmApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a rhsm cert guard
37
+ # RHSMCertGuard API Viewsets.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [CertguardRHSMCertGuard]
41
+ describe 'create test' 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
+ # unit tests for delete
48
+ # Delete a rhsm cert guard
49
+ # RHSMCertGuard API Viewsets.
50
+ # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete test' 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
+ # unit tests for list
60
+ # List rhsm cert guards
61
+ # RHSMCertGuard API Viewsets.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :ordering Which field to use when ordering the results.
64
+ # @option opts [String] :name
65
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
+ # @option opts [Integer] :limit Number of results to return per page.
67
+ # @option opts [Integer] :offset The initial index from which to return the results.
68
+ # @option opts [String] :fields A list of fields to include in the response.
69
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
+ # @return [InlineResponse200]
71
+ describe 'list test' 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
+ # unit tests for partial_update
78
+ # Partially update a rhsm cert guard
79
+ # RHSMCertGuard API Viewsets.
80
+ # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
81
+ # @param data
82
+ # @param [Hash] opts the optional parameters
83
+ # @return [CertguardRHSMCertGuard]
84
+ describe 'partial_update test' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
+ end
88
+ end
89
+
90
+ # unit tests for read
91
+ # Inspect a rhsm cert guard
92
+ # RHSMCertGuard API Viewsets.
93
+ # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
94
+ # @param [Hash] opts the optional parameters
95
+ # @option opts [String] :fields A list of fields to include in the response.
96
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
97
+ # @return [CertguardRHSMCertGuard]
98
+ describe 'read test' do
99
+ it 'should work' do
100
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
101
+ end
102
+ end
103
+
104
+ # unit tests for update
105
+ # Update a rhsm cert guard
106
+ # RHSMCertGuard API Viewsets.
107
+ # @param r_h_s_m_cert_guard_href URI of R H S M Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/rhsm/1/
108
+ # @param data
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [CertguardRHSMCertGuard]
111
+ describe 'update test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ end
@@ -0,0 +1,117 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpCertguardClient::ContentguardsX509Api
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentguardsX509Api' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpCertguardClient::ContentguardsX509Api.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentguardsX509Api' do
30
+ it 'should create an instance of ContentguardsX509Api' do
31
+ expect(@api_instance).to be_instance_of(PulpCertguardClient::ContentguardsX509Api)
32
+ end
33
+ end
34
+
35
+ # unit tests for create
36
+ # Create a x509 cert guard
37
+ # X509CertGuard API Viewsets.
38
+ # @param data
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [CertguardX509CertGuard]
41
+ describe 'create test' 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
+ # unit tests for delete
48
+ # Delete a x509 cert guard
49
+ # X509CertGuard API Viewsets.
50
+ # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [nil]
53
+ describe 'delete test' 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
+ # unit tests for list
60
+ # List x509 cert guards
61
+ # X509CertGuard API Viewsets.
62
+ # @param [Hash] opts the optional parameters
63
+ # @option opts [String] :ordering Which field to use when ordering the results.
64
+ # @option opts [String] :name
65
+ # @option opts [String] :name__in Filter results where name is in a comma-separated list of values
66
+ # @option opts [Integer] :limit Number of results to return per page.
67
+ # @option opts [Integer] :offset The initial index from which to return the results.
68
+ # @option opts [String] :fields A list of fields to include in the response.
69
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
70
+ # @return [InlineResponse2001]
71
+ describe 'list test' 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
+ # unit tests for partial_update
78
+ # Partially update a x509 cert guard
79
+ # X509CertGuard API Viewsets.
80
+ # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
81
+ # @param data
82
+ # @param [Hash] opts the optional parameters
83
+ # @return [CertguardX509CertGuard]
84
+ describe 'partial_update test' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
87
+ end
88
+ end
89
+
90
+ # unit tests for read
91
+ # Inspect a x509 cert guard
92
+ # X509CertGuard API Viewsets.
93
+ # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
94
+ # @param [Hash] opts the optional parameters
95
+ # @option opts [String] :fields A list of fields to include in the response.
96
+ # @option opts [String] :exclude_fields A list of fields to exclude from the response.
97
+ # @return [CertguardX509CertGuard]
98
+ describe 'read test' do
99
+ it 'should work' do
100
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
101
+ end
102
+ end
103
+
104
+ # unit tests for update
105
+ # Update a x509 cert guard
106
+ # X509CertGuard API Viewsets.
107
+ # @param x509_cert_guard_href URI of X509 Cert Guard. e.g.: /pulp/api/v3/contentguards/certguard/x509/1/
108
+ # @param data
109
+ # @param [Hash] opts the optional parameters
110
+ # @return [CertguardX509CertGuard]
111
+ describe 'update test' do
112
+ it 'should work' do
113
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
114
+ end
115
+ end
116
+
117
+ end
@@ -0,0 +1,188 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+
15
+ describe PulpCertguardClient::ApiClient do
16
+ context 'initialization' do
17
+ context 'URL stuff' do
18
+ context 'host' do
19
+ it 'removes http from host' do
20
+ PulpCertguardClient.configure { |c| c.host = 'http://example.com' }
21
+ expect(PulpCertguardClient::Configuration.default.host).to eq('example.com')
22
+ end
23
+
24
+ it 'removes https from host' do
25
+ PulpCertguardClient.configure { |c| c.host = 'https://wookiee.com' }
26
+ expect(PulpCertguardClient::ApiClient.default.config.host).to eq('wookiee.com')
27
+ end
28
+
29
+ it 'removes trailing path from host' do
30
+ PulpCertguardClient.configure { |c| c.host = 'hobo.com/v4' }
31
+ expect(PulpCertguardClient::Configuration.default.host).to eq('hobo.com')
32
+ end
33
+ end
34
+
35
+ context 'base_path' do
36
+ it "prepends a slash to base_path" do
37
+ PulpCertguardClient.configure { |c| c.base_path = 'v4/dog' }
38
+ expect(PulpCertguardClient::Configuration.default.base_path).to eq('/v4/dog')
39
+ end
40
+
41
+ it "doesn't prepend a slash if one is already there" do
42
+ PulpCertguardClient.configure { |c| c.base_path = '/v4/dog' }
43
+ expect(PulpCertguardClient::Configuration.default.base_path).to eq('/v4/dog')
44
+ end
45
+
46
+ it "ends up as a blank string if nil" do
47
+ PulpCertguardClient.configure { |c| c.base_path = nil }
48
+ expect(PulpCertguardClient::Configuration.default.base_path).to eq('')
49
+ end
50
+ end
51
+ end
52
+ end
53
+
54
+ describe '#deserialize' do
55
+ it "handles Array<Integer>" do
56
+ api_client = PulpCertguardClient::ApiClient.new
57
+ headers = { 'Content-Type' => 'application/json' }
58
+ response = double('response', headers: headers, body: '[12, 34]')
59
+ data = api_client.deserialize(response, 'Array<Integer>')
60
+ expect(data).to be_instance_of(Array)
61
+ expect(data).to eq([12, 34])
62
+ end
63
+
64
+ it 'handles Array<Array<Integer>>' do
65
+ api_client = PulpCertguardClient::ApiClient.new
66
+ headers = { 'Content-Type' => 'application/json' }
67
+ response = double('response', headers: headers, body: '[[12, 34], [56]]')
68
+ data = api_client.deserialize(response, 'Array<Array<Integer>>')
69
+ expect(data).to be_instance_of(Array)
70
+ expect(data).to eq([[12, 34], [56]])
71
+ end
72
+
73
+ it 'handles Hash<String, String>' do
74
+ api_client = PulpCertguardClient::ApiClient.new
75
+ headers = { 'Content-Type' => 'application/json' }
76
+ response = double('response', headers: headers, body: '{"message": "Hello"}')
77
+ data = api_client.deserialize(response, 'Hash<String, String>')
78
+ expect(data).to be_instance_of(Hash)
79
+ expect(data).to eq(:message => 'Hello')
80
+ end
81
+ end
82
+
83
+ describe "#object_to_hash" do
84
+ it 'ignores nils and includes empty arrays' do
85
+ # uncomment below to test object_to_hash for model
86
+ # api_client = PulpCertguardClient::ApiClient.new
87
+ # _model = PulpCertguardClient::ModelName.new
88
+ # update the model attribute below
89
+ # _model.id = 1
90
+ # update the expected value (hash) below
91
+ # expected = {id: 1, name: '', tags: []}
92
+ # expect(api_client.object_to_hash(_model)).to eq(expected)
93
+ end
94
+ end
95
+
96
+ describe '#build_collection_param' do
97
+ let(:param) { ['aa', 'bb', 'cc'] }
98
+ let(:api_client) { PulpCertguardClient::ApiClient.new }
99
+
100
+ it 'works for csv' do
101
+ expect(api_client.build_collection_param(param, :csv)).to eq('aa,bb,cc')
102
+ end
103
+
104
+ it 'works for ssv' do
105
+ expect(api_client.build_collection_param(param, :ssv)).to eq('aa bb cc')
106
+ end
107
+
108
+ it 'works for tsv' do
109
+ expect(api_client.build_collection_param(param, :tsv)).to eq("aa\tbb\tcc")
110
+ end
111
+
112
+ it 'works for pipes' do
113
+ expect(api_client.build_collection_param(param, :pipes)).to eq('aa|bb|cc')
114
+ end
115
+
116
+ it 'works for multi' do
117
+ expect(api_client.build_collection_param(param, :multi)).to eq(['aa', 'bb', 'cc'])
118
+ end
119
+
120
+ it 'fails for invalid collection format' do
121
+ expect{api_client.build_collection_param(param, :INVALID)}.to raise_error(RuntimeError, 'unknown collection format: :INVALID')
122
+ end
123
+ end
124
+
125
+ describe '#json_mime?' do
126
+ let(:api_client) { PulpCertguardClient::ApiClient.new }
127
+
128
+ it 'works' do
129
+ expect(api_client.json_mime?(nil)).to eq false
130
+ expect(api_client.json_mime?('')).to eq false
131
+
132
+ expect(api_client.json_mime?('application/json')).to eq true
133
+ expect(api_client.json_mime?('application/json; charset=UTF8')).to eq true
134
+ expect(api_client.json_mime?('APPLICATION/JSON')).to eq true
135
+
136
+ expect(api_client.json_mime?('application/xml')).to eq false
137
+ expect(api_client.json_mime?('text/plain')).to eq false
138
+ expect(api_client.json_mime?('application/jsonp')).to eq false
139
+ end
140
+ end
141
+
142
+ describe '#select_header_accept' do
143
+ let(:api_client) { PulpCertguardClient::ApiClient.new }
144
+
145
+ it 'works' do
146
+ expect(api_client.select_header_accept(nil)).to be_nil
147
+ expect(api_client.select_header_accept([])).to be_nil
148
+
149
+ expect(api_client.select_header_accept(['application/json'])).to eq('application/json')
150
+ expect(api_client.select_header_accept(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
151
+ expect(api_client.select_header_accept(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
152
+
153
+ expect(api_client.select_header_accept(['application/xml'])).to eq('application/xml')
154
+ expect(api_client.select_header_accept(['text/html', 'application/xml'])).to eq('text/html,application/xml')
155
+ end
156
+ end
157
+
158
+ describe '#select_header_content_type' do
159
+ let(:api_client) { PulpCertguardClient::ApiClient.new }
160
+
161
+ it 'works' do
162
+ expect(api_client.select_header_content_type(nil)).to eq('application/json')
163
+ expect(api_client.select_header_content_type([])).to eq('application/json')
164
+
165
+ expect(api_client.select_header_content_type(['application/json'])).to eq('application/json')
166
+ expect(api_client.select_header_content_type(['application/xml', 'application/json; charset=UTF8'])).to eq('application/json; charset=UTF8')
167
+ expect(api_client.select_header_content_type(['APPLICATION/JSON', 'text/html'])).to eq('APPLICATION/JSON')
168
+ expect(api_client.select_header_content_type(['application/xml'])).to eq('application/xml')
169
+ expect(api_client.select_header_content_type(['text/plain', 'application/xml'])).to eq('text/plain')
170
+ end
171
+ end
172
+
173
+ describe '#sanitize_filename' do
174
+ let(:api_client) { PulpCertguardClient::ApiClient.new }
175
+
176
+ it 'works' do
177
+ expect(api_client.sanitize_filename('sun')).to eq('sun')
178
+ expect(api_client.sanitize_filename('sun.gif')).to eq('sun.gif')
179
+ expect(api_client.sanitize_filename('../sun.gif')).to eq('sun.gif')
180
+ expect(api_client.sanitize_filename('/var/tmp/sun.gif')).to eq('sun.gif')
181
+ expect(api_client.sanitize_filename('./sun.gif')).to eq('sun.gif')
182
+ expect(api_client.sanitize_filename('..\sun.gif')).to eq('sun.gif')
183
+ expect(api_client.sanitize_filename('\var\tmp\sun.gif')).to eq('sun.gif')
184
+ expect(api_client.sanitize_filename('c:\var\tmp\sun.gif')).to eq('sun.gif')
185
+ expect(api_client.sanitize_filename('.\sun.gif')).to eq('sun.gif')
186
+ end
187
+ end
188
+ end
@@ -0,0 +1,42 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+
15
+ describe PulpCertguardClient::Configuration do
16
+ let(:config) { PulpCertguardClient::Configuration.default }
17
+
18
+ before(:each) do
19
+ # uncomment below to setup host and base_path
20
+ # require 'URI'
21
+ # uri = URI.parse("http://localhost:24817")
22
+ # PulpCertguardClient.configure do |c|
23
+ # c.host = uri.host
24
+ # c.base_path = uri.path
25
+ # end
26
+ end
27
+
28
+ describe '#base_url' do
29
+ it 'should have the default value' do
30
+ # uncomment below to test default value of the base path
31
+ # expect(config.base_url).to eq("http://localhost:24817")
32
+ end
33
+
34
+ it 'should remove trailing slashes' do
35
+ [nil, '', '/', '//'].each do |base_path|
36
+ config.base_path = base_path
37
+ # uncomment below to test trailing slashes
38
+ # expect(config.base_url).to eq("http://localhost:24817")
39
+ end
40
+ end
41
+ end
42
+ end
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpCertguardClient::CertguardRHSMCertGuard
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'CertguardRHSMCertGuard' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpCertguardClient::CertguardRHSMCertGuard.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CertguardRHSMCertGuard' do
31
+ it 'should create an instance of CertguardRHSMCertGuard' do
32
+ expect(@instance).to be_instance_of(PulpCertguardClient::CertguardRHSMCertGuard)
33
+ end
34
+ end
35
+ describe 'test attribute "pulp_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 "pulp_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 "name"' 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 "description"' 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 "ca_certificate"' 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
@@ -0,0 +1,65 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpCertguardClient::CertguardX509CertGuard
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'CertguardX509CertGuard' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpCertguardClient::CertguardX509CertGuard.new
24
+ end
25
+
26
+ after do
27
+ # run after each test
28
+ end
29
+
30
+ describe 'test an instance of CertguardX509CertGuard' do
31
+ it 'should create an instance of CertguardX509CertGuard' do
32
+ expect(@instance).to be_instance_of(PulpCertguardClient::CertguardX509CertGuard)
33
+ end
34
+ end
35
+ describe 'test attribute "pulp_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 "pulp_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 "name"' 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 "description"' 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 "ca_certificate"' 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
@@ -0,0 +1,59 @@
1
+ =begin
2
+ #Pulp 3 API
3
+
4
+ #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
5
+
6
+ The version of the OpenAPI document: v3
7
+
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 4.2.3
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpCertguardClient::InlineResponse2001
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe 'InlineResponse2001' do
21
+ before do
22
+ # run before each test
23
+ @instance = PulpCertguardClient::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(PulpCertguardClient::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