pulp_container_client 2.10.2 → 2.10.5
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/README.md +5 -6
- data/docs/ContainerContainerDistribution.md +4 -4
- data/docs/ContainerContainerDistributionResponse.md +7 -7
- data/docs/ContainerContainerPushRepository.md +3 -3
- data/docs/ContainerContainerPushRepositoryResponse.md +9 -9
- data/docs/PatchedcontainerContainerDistribution.md +4 -4
- data/docs/PatchedcontainerContainerPushRepository.md +3 -3
- data/docs/Repair.md +17 -0
- data/docs/RepositoriesContainerPushVersionsApi.md +4 -4
- data/docs/RepositoriesContainerVersionsApi.md +4 -4
- data/lib/pulp_container_client/api/repositories_container_push_versions_api.rb +9 -9
- data/lib/pulp_container_client/api/repositories_container_versions_api.rb +9 -9
- data/lib/pulp_container_client/api_client.rb +1 -4
- data/lib/pulp_container_client/configuration.rb +1 -0
- data/lib/pulp_container_client/models/container_container_distribution.rb +39 -39
- data/lib/pulp_container_client/models/container_container_distribution_response.rb +33 -33
- data/lib/pulp_container_client/models/container_container_push_repository.rb +30 -30
- data/lib/pulp_container_client/models/container_container_push_repository_response.rb +42 -42
- data/lib/pulp_container_client/models/patchedcontainer_container_distribution.rb +30 -30
- data/lib/pulp_container_client/models/patchedcontainer_container_push_repository.rb +30 -30
- data/lib/pulp_container_client/models/{repository_version.rb → repair.rb} +13 -12
- data/lib/pulp_container_client/version.rb +1 -1
- data/lib/pulp_container_client.rb +1 -2
- data/pulp_container_client.gemspec +3 -3
- data/spec/api/repositories_container_push_versions_api_spec.rb +1 -1
- data/spec/api/repositories_container_versions_api_spec.rb +1 -1
- data/spec/models/container_container_distribution_response_spec.rb +6 -6
- data/spec/models/container_container_distribution_spec.rb +2 -2
- data/spec/models/container_container_push_repository_response_spec.rb +6 -6
- data/spec/models/container_container_push_repository_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_distribution_spec.rb +2 -2
- data/spec/models/patchedcontainer_container_push_repository_spec.rb +2 -2
- data/spec/models/{repository_version_spec.rb → repair_spec.rb} +7 -7
- metadata +50 -55
- data/docs/ContentSummary.md +0 -21
- data/docs/RepositoryVersion.md +0 -17
- data/git_push.sh +0 -58
- data/lib/pulp_container_client/models/content_summary.rb +0 -246
- data/spec/models/content_summary_spec.rb +0 -53
@@ -20,19 +20,19 @@ module PulpContainerClient
|
|
20
20
|
# An optional description.
|
21
21
|
attr_accessor :description
|
22
22
|
|
23
|
-
# A unique name for this repository.
|
24
|
-
attr_accessor :name
|
25
|
-
|
26
23
|
# Retain X versions of the repository. Default is null which retains all versions. This is provided as a tech preview in Pulp 3 and may change in the future.
|
27
24
|
attr_accessor :retain_repo_versions
|
28
25
|
|
26
|
+
# A unique name for this repository.
|
27
|
+
attr_accessor :name
|
28
|
+
|
29
29
|
# Attribute mapping from ruby-style variable name to JSON key.
|
30
30
|
def self.attribute_map
|
31
31
|
{
|
32
32
|
:'pulp_labels' => :'pulp_labels',
|
33
33
|
:'description' => :'description',
|
34
|
-
:'
|
35
|
-
:'
|
34
|
+
:'retain_repo_versions' => :'retain_repo_versions',
|
35
|
+
:'name' => :'name'
|
36
36
|
}
|
37
37
|
end
|
38
38
|
|
@@ -41,8 +41,8 @@ module PulpContainerClient
|
|
41
41
|
{
|
42
42
|
:'pulp_labels' => :'Object',
|
43
43
|
:'description' => :'String',
|
44
|
-
:'
|
45
|
-
:'
|
44
|
+
:'retain_repo_versions' => :'Integer',
|
45
|
+
:'name' => :'String'
|
46
46
|
}
|
47
47
|
end
|
48
48
|
|
@@ -50,7 +50,7 @@ module PulpContainerClient
|
|
50
50
|
def self.openapi_nullable
|
51
51
|
Set.new([
|
52
52
|
:'description',
|
53
|
-
:'retain_repo_versions'
|
53
|
+
:'retain_repo_versions',
|
54
54
|
])
|
55
55
|
end
|
56
56
|
|
@@ -77,13 +77,13 @@ module PulpContainerClient
|
|
77
77
|
self.description = attributes[:'description']
|
78
78
|
end
|
79
79
|
|
80
|
-
if attributes.key?(:'name')
|
81
|
-
self.name = attributes[:'name']
|
82
|
-
end
|
83
|
-
|
84
80
|
if attributes.key?(:'retain_repo_versions')
|
85
81
|
self.retain_repo_versions = attributes[:'retain_repo_versions']
|
86
82
|
end
|
83
|
+
|
84
|
+
if attributes.key?(:'name')
|
85
|
+
self.name = attributes[:'name']
|
86
|
+
end
|
87
87
|
end
|
88
88
|
|
89
89
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -94,14 +94,14 @@ module PulpContainerClient
|
|
94
94
|
invalid_properties.push('invalid value for "description", the character length must be great than or equal to 1.')
|
95
95
|
end
|
96
96
|
|
97
|
-
if !@name.nil? && @name.to_s.length < 1
|
98
|
-
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
99
|
-
end
|
100
|
-
|
101
97
|
if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
102
98
|
invalid_properties.push('invalid value for "retain_repo_versions", must be greater than or equal to 1.')
|
103
99
|
end
|
104
100
|
|
101
|
+
if !@name.nil? && @name.to_s.length < 1
|
102
|
+
invalid_properties.push('invalid value for "name", the character length must be great than or equal to 1.')
|
103
|
+
end
|
104
|
+
|
105
105
|
invalid_properties
|
106
106
|
end
|
107
107
|
|
@@ -109,8 +109,8 @@ module PulpContainerClient
|
|
109
109
|
# @return true if the model is valid
|
110
110
|
def valid?
|
111
111
|
return false if !@description.nil? && @description.to_s.length < 1
|
112
|
-
return false if !@name.nil? && @name.to_s.length < 1
|
113
112
|
return false if !@retain_repo_versions.nil? && @retain_repo_versions < 1
|
113
|
+
return false if !@name.nil? && @name.to_s.length < 1
|
114
114
|
true
|
115
115
|
end
|
116
116
|
|
@@ -124,16 +124,6 @@ module PulpContainerClient
|
|
124
124
|
@description = description
|
125
125
|
end
|
126
126
|
|
127
|
-
# Custom attribute writer method with validation
|
128
|
-
# @param [Object] name Value to be assigned
|
129
|
-
def name=(name)
|
130
|
-
if !name.nil? && name.to_s.length < 1
|
131
|
-
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
132
|
-
end
|
133
|
-
|
134
|
-
@name = name
|
135
|
-
end
|
136
|
-
|
137
127
|
# Custom attribute writer method with validation
|
138
128
|
# @param [Object] retain_repo_versions Value to be assigned
|
139
129
|
def retain_repo_versions=(retain_repo_versions)
|
@@ -144,6 +134,16 @@ module PulpContainerClient
|
|
144
134
|
@retain_repo_versions = retain_repo_versions
|
145
135
|
end
|
146
136
|
|
137
|
+
# Custom attribute writer method with validation
|
138
|
+
# @param [Object] name Value to be assigned
|
139
|
+
def name=(name)
|
140
|
+
if !name.nil? && name.to_s.length < 1
|
141
|
+
fail ArgumentError, 'invalid value for "name", the character length must be great than or equal to 1.'
|
142
|
+
end
|
143
|
+
|
144
|
+
@name = name
|
145
|
+
end
|
146
|
+
|
147
147
|
# Checks equality by comparing each attribute.
|
148
148
|
# @param [Object] Object to be compared
|
149
149
|
def ==(o)
|
@@ -151,8 +151,8 @@ module PulpContainerClient
|
|
151
151
|
self.class == o.class &&
|
152
152
|
pulp_labels == o.pulp_labels &&
|
153
153
|
description == o.description &&
|
154
|
-
|
155
|
-
|
154
|
+
retain_repo_versions == o.retain_repo_versions &&
|
155
|
+
name == o.name
|
156
156
|
end
|
157
157
|
|
158
158
|
# @see the `==` method
|
@@ -164,7 +164,7 @@ module PulpContainerClient
|
|
164
164
|
# Calculates hash code according to all attributes.
|
165
165
|
# @return [Integer] Hash code
|
166
166
|
def hash
|
167
|
-
[pulp_labels, description,
|
167
|
+
[pulp_labels, description, retain_repo_versions, name].hash
|
168
168
|
end
|
169
169
|
|
170
170
|
# Builds the object from hash
|
@@ -13,22 +13,21 @@ OpenAPI Generator version: 4.3.1
|
|
13
13
|
require 'date'
|
14
14
|
|
15
15
|
module PulpContainerClient
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
attr_accessor :base_version
|
16
|
+
class Repair
|
17
|
+
# Will verify that the checksum of all stored files matches what saved in the database. Otherwise only the existence of the files will be checked. Enabled by default
|
18
|
+
attr_accessor :verify_checksums
|
20
19
|
|
21
20
|
# Attribute mapping from ruby-style variable name to JSON key.
|
22
21
|
def self.attribute_map
|
23
22
|
{
|
24
|
-
:'
|
23
|
+
:'verify_checksums' => :'verify_checksums'
|
25
24
|
}
|
26
25
|
end
|
27
26
|
|
28
27
|
# Attribute type mapping.
|
29
28
|
def self.openapi_types
|
30
29
|
{
|
31
|
-
:'
|
30
|
+
:'verify_checksums' => :'Boolean'
|
32
31
|
}
|
33
32
|
end
|
34
33
|
|
@@ -42,19 +41,21 @@ module PulpContainerClient
|
|
42
41
|
# @param [Hash] attributes Model attributes in the form of hash
|
43
42
|
def initialize(attributes = {})
|
44
43
|
if (!attributes.is_a?(Hash))
|
45
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::
|
44
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `PulpContainerClient::Repair` initialize method"
|
46
45
|
end
|
47
46
|
|
48
47
|
# check to see if the attribute exists and convert string to symbol for hash key
|
49
48
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
50
49
|
if (!self.class.attribute_map.key?(k.to_sym))
|
51
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::
|
50
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `PulpContainerClient::Repair`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
52
51
|
end
|
53
52
|
h[k.to_sym] = v
|
54
53
|
}
|
55
54
|
|
56
|
-
if attributes.key?(:'
|
57
|
-
self.
|
55
|
+
if attributes.key?(:'verify_checksums')
|
56
|
+
self.verify_checksums = attributes[:'verify_checksums']
|
57
|
+
else
|
58
|
+
self.verify_checksums = true
|
58
59
|
end
|
59
60
|
end
|
60
61
|
|
@@ -76,7 +77,7 @@ module PulpContainerClient
|
|
76
77
|
def ==(o)
|
77
78
|
return true if self.equal?(o)
|
78
79
|
self.class == o.class &&
|
79
|
-
|
80
|
+
verify_checksums == o.verify_checksums
|
80
81
|
end
|
81
82
|
|
82
83
|
# @see the `==` method
|
@@ -88,7 +89,7 @@ module PulpContainerClient
|
|
88
89
|
# Calculates hash code according to all attributes.
|
89
90
|
# @return [Integer] Hash code
|
90
91
|
def hash
|
91
|
-
[
|
92
|
+
[verify_checksums].hash
|
92
93
|
end
|
93
94
|
|
94
95
|
# Builds the object from hash
|
@@ -33,7 +33,6 @@ require 'pulp_container_client/models/container_content_redirect_content_guard'
|
|
33
33
|
require 'pulp_container_client/models/container_content_redirect_content_guard_response'
|
34
34
|
require 'pulp_container_client/models/container_manifest_response'
|
35
35
|
require 'pulp_container_client/models/container_tag_response'
|
36
|
-
require 'pulp_container_client/models/content_summary'
|
37
36
|
require 'pulp_container_client/models/content_summary_response'
|
38
37
|
require 'pulp_container_client/models/manifest_copy'
|
39
38
|
require 'pulp_container_client/models/media_types_enum'
|
@@ -56,8 +55,8 @@ require 'pulp_container_client/models/patchedcontainer_content_redirect_content_
|
|
56
55
|
require 'pulp_container_client/models/policy_enum'
|
57
56
|
require 'pulp_container_client/models/recursive_manage'
|
58
57
|
require 'pulp_container_client/models/remove_image'
|
58
|
+
require 'pulp_container_client/models/repair'
|
59
59
|
require 'pulp_container_client/models/repository_sync_url'
|
60
|
-
require 'pulp_container_client/models/repository_version'
|
61
60
|
require 'pulp_container_client/models/repository_version_response'
|
62
61
|
require 'pulp_container_client/models/tag_copy'
|
63
62
|
require 'pulp_container_client/models/tag_image'
|
@@ -21,13 +21,13 @@ Gem::Specification.new do |s|
|
|
21
21
|
s.platform = Gem::Platform::RUBY
|
22
22
|
s.authors = ["OpenAPI-Generator"]
|
23
23
|
s.email = ["pulp-list@redhat.com"]
|
24
|
-
s.homepage = "https://
|
24
|
+
s.homepage = "https://github.com/pulp/pulp_container"
|
25
25
|
s.summary = "Pulp 3 API Ruby Gem"
|
26
26
|
s.description = "Fetch, Upload, Organize, and Distribute Software Packages"
|
27
|
-
s.license = '
|
27
|
+
s.license = 'GPLv2+'
|
28
28
|
s.required_ruby_version = ">= 1.9"
|
29
29
|
|
30
|
-
s.add_runtime_dependency 'faraday', '
|
30
|
+
s.add_runtime_dependency 'faraday', '>= 0.17', '< 1.9.0'
|
31
31
|
s.add_runtime_dependency 'json', '~> 2.1', '>= 2.1.0'
|
32
32
|
|
33
33
|
s.add_development_dependency 'rspec', '~> 3.6', '>= 3.6.0'
|
@@ -92,7 +92,7 @@ describe 'RepositoriesContainerPushVersionsApi' do
|
|
92
92
|
# unit tests for repair
|
93
93
|
# Trigger an asynchronous task to repair a repository version.
|
94
94
|
# @param container_container_push_repository_version_href
|
95
|
-
# @param
|
95
|
+
# @param repair
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [AsyncOperationResponse]
|
98
98
|
describe 'repair test' do
|
@@ -92,7 +92,7 @@ describe 'RepositoriesContainerVersionsApi' do
|
|
92
92
|
# unit tests for repair
|
93
93
|
# Trigger an asynchronous task to repair a repository version.
|
94
94
|
# @param container_container_repository_version_href
|
95
|
-
# @param
|
95
|
+
# @param repair
|
96
96
|
# @param [Hash] opts the optional parameters
|
97
97
|
# @return [AsyncOperationResponse]
|
98
98
|
describe 'repair test' do
|
@@ -32,25 +32,25 @@ describe 'ContainerContainerDistributionResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerDistributionResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
39
39
|
end
|
40
40
|
|
41
|
-
describe 'test attribute "
|
41
|
+
describe 'test attribute "pulp_labels"' do
|
42
42
|
it 'should work' do
|
43
43
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "content_guard"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "repository"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -62,13 +62,13 @@ describe 'ContainerContainerDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
-
describe 'test attribute "
|
65
|
+
describe 'test attribute "name"' do
|
66
66
|
it 'should work' do
|
67
67
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "pulp_created"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
@@ -44,7 +44,7 @@ describe 'ContainerContainerDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -56,7 +56,7 @@ describe 'ContainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "name"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
@@ -32,7 +32,7 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpContainerClient::ContainerContainerPushRepositoryResponse)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "pulp_href"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|
@@ -44,19 +44,19 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "pulp_labels"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "description"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "retain_repo_versions"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
@@ -68,13 +68,13 @@ describe 'ContainerContainerPushRepositoryResponse' do
|
|
68
68
|
end
|
69
69
|
end
|
70
70
|
|
71
|
-
describe 'test attribute "
|
71
|
+
describe 'test attribute "name"' do
|
72
72
|
it 'should work' do
|
73
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
74
74
|
end
|
75
75
|
end
|
76
76
|
|
77
|
-
describe 'test attribute "
|
77
|
+
describe 'test attribute "pulp_created"' do
|
78
78
|
it 'should work' do
|
79
79
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
80
|
end
|
@@ -44,13 +44,13 @@ describe 'ContainerContainerPushRepository' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "retain_repo_versions"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "name"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -44,7 +44,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "repository"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
@@ -56,7 +56,7 @@ describe 'PatchedcontainerContainerDistribution' do
|
|
56
56
|
end
|
57
57
|
end
|
58
58
|
|
59
|
-
describe 'test attribute "
|
59
|
+
describe 'test attribute "name"' do
|
60
60
|
it 'should work' do
|
61
61
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
62
62
|
end
|
@@ -44,13 +44,13 @@ describe 'PatchedcontainerContainerPushRepository' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
describe 'test attribute "
|
47
|
+
describe 'test attribute "retain_repo_versions"' do
|
48
48
|
it 'should work' do
|
49
49
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
50
50
|
end
|
51
51
|
end
|
52
52
|
|
53
|
-
describe 'test attribute "
|
53
|
+
describe 'test attribute "name"' do
|
54
54
|
it 'should work' do
|
55
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
56
|
end
|
@@ -14,25 +14,25 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for PulpContainerClient::
|
17
|
+
# Unit tests for PulpContainerClient::Repair
|
18
18
|
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'Repair' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = PulpContainerClient::
|
23
|
+
@instance = PulpContainerClient::Repair.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instance of
|
32
|
-
expect(@instance).to be_instance_of(PulpContainerClient::
|
30
|
+
describe 'test an instance of Repair' do
|
31
|
+
it 'should create an instance of Repair' do
|
32
|
+
expect(@instance).to be_instance_of(PulpContainerClient::Repair)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "verify_checksums"' do
|
36
36
|
it 'should work' do
|
37
37
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
38
|
end
|