pulp_python_client 3.9.0 → 3.10.1
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 +16 -6
- data/docs/ContentPackagesApi.md +13 -7
- data/docs/DistributionsPypiApi.md +130 -4
- data/docs/PaginatedRepositoryVersionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonDistributionResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPackageContentResponseList.md +2 -2
- data/docs/PaginatedpythonPythonPublicationResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRemoteResponseList.md +2 -2
- data/docs/PaginatedpythonPythonRepositoryResponseList.md +2 -2
- data/docs/PatchedpythonPythonDistribution.md +2 -0
- data/docs/PatchedpythonPythonRemote.md +1 -1
- data/docs/PublicationsPypiApi.md +9 -3
- data/docs/PypiApi.md +1 -1
- data/docs/PypiLegacyApi.md +1 -1
- data/docs/PypiMetadataApi.md +1 -1
- data/docs/PypiSimpleApi.md +1 -1
- data/docs/PythonBanderRemote.md +1 -1
- data/docs/PythonPythonDistribution.md +2 -0
- data/docs/PythonPythonDistributionResponse.md +2 -0
- data/docs/PythonPythonPackageContent.md +3 -3
- data/docs/PythonPythonRemote.md +1 -1
- data/docs/PythonPythonRemoteResponse.md +1 -1
- data/docs/PythonPythonRemoteResponseHiddenFields.md +2 -2
- data/docs/RemotesPythonApi.md +131 -5
- data/docs/RepositoriesPythonApi.md +134 -4
- data/docs/RepositoriesPythonVersionsApi.md +7 -3
- data/docs/SetLabel.md +19 -0
- data/docs/SetLabelResponse.md +19 -0
- data/docs/UnsetLabel.md +17 -0
- data/docs/UnsetLabelResponse.md +19 -0
- data/lib/pulp_python_client/api/content_packages_api.rb +16 -7
- data/lib/pulp_python_client/api/distributions_pypi_api.rb +164 -3
- data/lib/pulp_python_client/api/publications_pypi_api.rb +11 -2
- data/lib/pulp_python_client/api/remotes_python_api.rb +165 -4
- data/lib/pulp_python_client/api/repositories_python_api.rb +169 -2
- data/lib/pulp_python_client/api/repositories_python_versions_api.rb +8 -2
- data/lib/pulp_python_client/configuration.rb +3 -3
- data/lib/pulp_python_client/models/paginated_repository_version_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_distribution_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_package_content_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_publication_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_remote_response_list.rb +10 -0
- data/lib/pulp_python_client/models/paginatedpython_python_repository_response_list.rb +10 -0
- data/lib/pulp_python_client/models/patchedpython_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/patchedpython_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_bander_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_distribution.rb +13 -1
- data/lib/pulp_python_client/models/python_python_distribution_response.rb +13 -1
- data/lib/pulp_python_client/models/python_python_package_content.rb +11 -11
- data/lib/pulp_python_client/models/python_python_remote.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote_response.rb +1 -1
- data/lib/pulp_python_client/models/python_python_remote_response_hidden_fields.rb +10 -0
- data/lib/pulp_python_client/models/set_label.rb +252 -0
- data/lib/pulp_python_client/models/set_label_response.rb +243 -0
- data/lib/pulp_python_client/models/unset_label.rb +242 -0
- data/lib/pulp_python_client/models/unset_label_response.rb +242 -0
- data/lib/pulp_python_client/version.rb +1 -1
- data/lib/pulp_python_client.rb +4 -0
- data/spec/api/content_packages_api_spec.rb +6 -3
- data/spec/api/distributions_pypi_api_spec.rb +34 -1
- data/spec/api/publications_pypi_api_spec.rb +4 -1
- data/spec/api/remotes_python_api_spec.rb +35 -2
- data/spec/api/repositories_python_api_spec.rb +36 -1
- data/spec/api/repositories_python_versions_api_spec.rb +3 -1
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/patchedpython_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_distribution_response_spec.rb +6 -0
- data/spec/models/python_python_distribution_spec.rb +6 -0
- data/spec/models/python_python_package_content_spec.rb +4 -4
- data/spec/models/set_label_response_spec.rb +47 -0
- data/spec/models/set_label_spec.rb +47 -0
- data/spec/models/unset_label_response_spec.rb +47 -0
- data/spec/models/unset_label_spec.rb +41 -0
- metadata +65 -49
@@ -60,15 +60,23 @@ describe 'RepositoriesPythonApi' do
|
|
60
60
|
# List python repositorys
|
61
61
|
# PythonRepository represents a single Python repository, to which content can be synced, added, or removed.
|
62
62
|
# @param [Hash] opts the optional parameters
|
63
|
+
# @option opts [String] :latest_with_content Content Unit referenced by HREF
|
63
64
|
# @option opts [Integer] :limit Number of results to return per page.
|
64
65
|
# @option opts [String] :name Filter results where name matches value
|
65
66
|
# @option opts [String] :name__contains Filter results where name contains value
|
66
67
|
# @option opts [String] :name__icontains Filter results where name contains value
|
68
|
+
# @option opts [String] :name__iexact Filter results where name matches value
|
67
69
|
# @option opts [Array<String>] :name__in Filter results where name is in a comma-separated list of values
|
70
|
+
# @option opts [String] :name__iregex Filter results where name matches regex value
|
71
|
+
# @option opts [String] :name__istartswith Filter results where name starts with value
|
72
|
+
# @option opts [String] :name__regex Filter results where name matches regex value
|
68
73
|
# @option opts [String] :name__startswith Filter results where name starts with value
|
69
74
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
70
|
-
# @option opts [Array<String>] :ordering Ordering
|
75
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `pulp_type` - Pulp type * `-pulp_type` - Pulp type (descending) * `name` - Name * `-name` - Name (descending) * `pulp_labels` - Pulp labels * `-pulp_labels` - Pulp labels (descending) * `description` - Description * `-description` - Description (descending) * `next_version` - Next version * `-next_version` - Next version (descending) * `retain_repo_versions` - Retain repo versions * `-retain_repo_versions` - Retain repo versions (descending) * `user_hidden` - User hidden * `-user_hidden` - User hidden (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
76
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
77
|
+
# @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
|
71
78
|
# @option opts [String] :pulp_label_select Filter labels by search string
|
79
|
+
# @option opts [String] :q
|
72
80
|
# @option opts [String] :remote Foreign Key referenced by HREF
|
73
81
|
# @option opts [Integer] :retain_repo_versions Filter results where retain_repo_versions matches value
|
74
82
|
# @option opts [Integer] :retain_repo_versions__gt Filter results where retain_repo_versions is greater than value
|
@@ -78,6 +86,7 @@ describe 'RepositoriesPythonApi' do
|
|
78
86
|
# @option opts [Integer] :retain_repo_versions__lte Filter results where retain_repo_versions is less than or equal to value
|
79
87
|
# @option opts [Integer] :retain_repo_versions__ne Filter results where retain_repo_versions not equal to value
|
80
88
|
# @option opts [Array<Integer>] :retain_repo_versions__range Filter results where retain_repo_versions is between two comma separated values
|
89
|
+
# @option opts [String] :with_content Content Unit referenced by HREF
|
81
90
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
82
91
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
83
92
|
# @return [PaginatedpythonPythonRepositoryResponseList]
|
@@ -127,6 +136,19 @@ describe 'RepositoriesPythonApi' do
|
|
127
136
|
end
|
128
137
|
end
|
129
138
|
|
139
|
+
# unit tests for set_label
|
140
|
+
# Set a label
|
141
|
+
# Set a single pulp_label on the object to a specific value or null.
|
142
|
+
# @param python_python_repository_href
|
143
|
+
# @param set_label
|
144
|
+
# @param [Hash] opts the optional parameters
|
145
|
+
# @return [SetLabelResponse]
|
146
|
+
describe 'set_label test' do
|
147
|
+
it 'should work' do
|
148
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
149
|
+
end
|
150
|
+
end
|
151
|
+
|
130
152
|
# unit tests for sync
|
131
153
|
# Sync from remote
|
132
154
|
# Trigger an asynchronous task to sync python content. The sync task will retrieve Python content from the specified `Remote` and update the specified `Respository`, creating a new `RepositoryVersion`.
|
@@ -140,6 +162,19 @@ describe 'RepositoriesPythonApi' do
|
|
140
162
|
end
|
141
163
|
end
|
142
164
|
|
165
|
+
# unit tests for unset_label
|
166
|
+
# Unset a label
|
167
|
+
# Unset a single pulp_label on the object.
|
168
|
+
# @param python_python_repository_href
|
169
|
+
# @param unset_label
|
170
|
+
# @param [Hash] opts the optional parameters
|
171
|
+
# @return [UnsetLabelResponse]
|
172
|
+
describe 'unset_label test' do
|
173
|
+
it 'should work' do
|
174
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
175
|
+
end
|
176
|
+
end
|
177
|
+
|
143
178
|
# unit tests for update
|
144
179
|
# Update a python repository
|
145
180
|
# Trigger an asynchronous update task
|
@@ -59,13 +59,15 @@ describe 'RepositoriesPythonVersionsApi' do
|
|
59
59
|
# @option opts [Integer] :number__lte Filter results where number is less than or equal to value
|
60
60
|
# @option opts [Array<Integer>] :number__range Filter results where number is between two comma separated values
|
61
61
|
# @option opts [Integer] :offset The initial index from which to return the results.
|
62
|
-
# @option opts [Array<String>] :ordering Ordering
|
62
|
+
# @option opts [Array<String>] :ordering Ordering * `pulp_id` - Pulp id * `-pulp_id` - Pulp id (descending) * `pulp_created` - Pulp created * `-pulp_created` - Pulp created (descending) * `pulp_last_updated` - Pulp last updated * `-pulp_last_updated` - Pulp last updated (descending) * `number` - Number * `-number` - Number (descending) * `complete` - Complete * `-complete` - Complete (descending) * `info` - Info * `-info` - Info (descending) * `pk` - Pk * `-pk` - Pk (descending)
|
63
63
|
# @option opts [DateTime] :pulp_created Filter results where pulp_created matches value
|
64
64
|
# @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value
|
65
65
|
# @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value
|
66
66
|
# @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value
|
67
67
|
# @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value
|
68
68
|
# @option opts [Array<DateTime>] :pulp_created__range Filter results where pulp_created is between two comma separated values
|
69
|
+
# @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
|
70
|
+
# @option opts [String] :q
|
69
71
|
# @option opts [Array<String>] :fields A list of fields to include in the response.
|
70
72
|
# @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
|
71
73
|
# @return [PaginatedRepositoryVersionResponseList]
|
data/spec/configuration_spec.rb
CHANGED
@@ -18,7 +18,7 @@ describe PulpPythonClient::Configuration do
|
|
18
18
|
before(:each) do
|
19
19
|
# uncomment below to setup host and base_path
|
20
20
|
# require 'URI'
|
21
|
-
# uri = URI.parse("
|
21
|
+
# uri = URI.parse("http://localhost:24817")
|
22
22
|
# PulpPythonClient.configure do |c|
|
23
23
|
# c.host = uri.host
|
24
24
|
# c.base_path = uri.path
|
@@ -28,14 +28,14 @@ describe PulpPythonClient::Configuration do
|
|
28
28
|
describe '#base_url' do
|
29
29
|
it 'should have the default value' do
|
30
30
|
# uncomment below to test default value of the base path
|
31
|
-
# expect(config.base_url).to eq("
|
31
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
32
32
|
end
|
33
33
|
|
34
34
|
it 'should remove trailing slashes' do
|
35
35
|
[nil, '', '/', '//'].each do |base_path|
|
36
36
|
config.base_path = base_path
|
37
37
|
# uncomment below to test trailing slashes
|
38
|
-
# expect(config.base_url).to eq("
|
38
|
+
# expect(config.base_url).to eq("http://localhost:24817")
|
39
39
|
end
|
40
40
|
end
|
41
41
|
end
|
@@ -44,6 +44,12 @@ describe 'PatchedpythonPythonDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "hidden"' 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
|
+
|
47
53
|
describe 'test attribute "pulp_labels"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -62,6 +62,12 @@ describe 'PythonPythonDistributionResponse' do
|
|
62
62
|
end
|
63
63
|
end
|
64
64
|
|
65
|
+
describe 'test attribute "hidden"' 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
|
+
|
65
71
|
describe 'test attribute "pulp_labels"' do
|
66
72
|
it 'should work' do
|
67
73
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -44,6 +44,12 @@ describe 'PythonPythonDistribution' do
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
+
describe 'test attribute "hidden"' 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
|
+
|
47
53
|
describe 'test attribute "pulp_labels"' do
|
48
54
|
it 'should work' do
|
49
55
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -32,25 +32,25 @@ describe 'PythonPythonPackageContent' do
|
|
32
32
|
expect(@instance).to be_instance_of(PulpPythonClient::PythonPythonPackageContent)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "repository"' 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 "artifact"' 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 "relative_path"' 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 "file"' 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
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::SetLabelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SetLabelResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::SetLabelResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SetLabelResponse' do
|
31
|
+
it 'should create an instance of SetLabelResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::SetLabelResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::SetLabel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'SetLabel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::SetLabel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of SetLabel' do
|
31
|
+
it 'should create an instance of SetLabel' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::SetLabel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
@@ -0,0 +1,47 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::UnsetLabelResponse
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabelResponse' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::UnsetLabelResponse.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabelResponse' do
|
31
|
+
it 'should create an instance of UnsetLabelResponse' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabelResponse)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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 "value"' 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
|
+
end
|
@@ -0,0 +1,41 @@
|
|
1
|
+
=begin
|
2
|
+
#Pulp 3 API
|
3
|
+
|
4
|
+
#Fetch, Upload, Organize, and Distribute Software Packages
|
5
|
+
|
6
|
+
The version of the OpenAPI document: v3
|
7
|
+
Contact: pulp-list@redhat.com
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 4.3.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for PulpPythonClient::UnsetLabel
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'UnsetLabel' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = PulpPythonClient::UnsetLabel.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of UnsetLabel' do
|
31
|
+
it 'should create an instance of UnsetLabel' do
|
32
|
+
expect(@instance).to be_instance_of(PulpPythonClient::UnsetLabel)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' 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
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pulp_python_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.10.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- OpenAPI-Generator
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -34,42 +34,42 @@ dependencies:
|
|
34
34
|
name: json
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - ">="
|
38
|
-
- !ruby/object:Gem::Version
|
39
|
-
version: 2.1.0
|
40
37
|
- - "~>"
|
41
38
|
- !ruby/object:Gem::Version
|
42
39
|
version: '2.1'
|
40
|
+
- - ">="
|
41
|
+
- !ruby/object:Gem::Version
|
42
|
+
version: 2.1.0
|
43
43
|
type: :runtime
|
44
44
|
prerelease: false
|
45
45
|
version_requirements: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- - ">="
|
48
|
-
- !ruby/object:Gem::Version
|
49
|
-
version: 2.1.0
|
50
47
|
- - "~>"
|
51
48
|
- !ruby/object:Gem::Version
|
52
49
|
version: '2.1'
|
50
|
+
- - ">="
|
51
|
+
- !ruby/object:Gem::Version
|
52
|
+
version: 2.1.0
|
53
53
|
- !ruby/object:Gem::Dependency
|
54
54
|
name: rspec
|
55
55
|
requirement: !ruby/object:Gem::Requirement
|
56
56
|
requirements:
|
57
|
-
- - ">="
|
58
|
-
- !ruby/object:Gem::Version
|
59
|
-
version: 3.6.0
|
60
57
|
- - "~>"
|
61
58
|
- !ruby/object:Gem::Version
|
62
59
|
version: '3.6'
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 3.6.0
|
63
63
|
type: :development
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ">="
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: 3.6.0
|
70
67
|
- - "~>"
|
71
68
|
- !ruby/object:Gem::Version
|
72
69
|
version: '3.6'
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 3.6.0
|
73
73
|
description: Fetch, Upload, Organize, and Distribute Software Packages
|
74
74
|
email:
|
75
75
|
- pulp-list@redhat.com
|
@@ -123,7 +123,11 @@ files:
|
|
123
123
|
- docs/RepositoryAddRemoveContent.md
|
124
124
|
- docs/RepositorySyncURL.md
|
125
125
|
- docs/RepositoryVersionResponse.md
|
126
|
+
- docs/SetLabel.md
|
127
|
+
- docs/SetLabelResponse.md
|
126
128
|
- docs/SummaryResponse.md
|
129
|
+
- docs/UnsetLabel.md
|
130
|
+
- docs/UnsetLabelResponse.md
|
127
131
|
- lib/pulp_python_client.rb
|
128
132
|
- lib/pulp_python_client/api/content_packages_api.rb
|
129
133
|
- lib/pulp_python_client/api/distributions_pypi_api.rb
|
@@ -171,7 +175,11 @@ files:
|
|
171
175
|
- lib/pulp_python_client/models/repository_add_remove_content.rb
|
172
176
|
- lib/pulp_python_client/models/repository_sync_url.rb
|
173
177
|
- lib/pulp_python_client/models/repository_version_response.rb
|
178
|
+
- lib/pulp_python_client/models/set_label.rb
|
179
|
+
- lib/pulp_python_client/models/set_label_response.rb
|
174
180
|
- lib/pulp_python_client/models/summary_response.rb
|
181
|
+
- lib/pulp_python_client/models/unset_label.rb
|
182
|
+
- lib/pulp_python_client/models/unset_label_response.rb
|
175
183
|
- lib/pulp_python_client/version.rb
|
176
184
|
- pulp_python_client.gemspec
|
177
185
|
- spec/api/content_packages_api_spec.rb
|
@@ -219,13 +227,17 @@ files:
|
|
219
227
|
- spec/models/repository_add_remove_content_spec.rb
|
220
228
|
- spec/models/repository_sync_url_spec.rb
|
221
229
|
- spec/models/repository_version_response_spec.rb
|
230
|
+
- spec/models/set_label_response_spec.rb
|
231
|
+
- spec/models/set_label_spec.rb
|
222
232
|
- spec/models/summary_response_spec.rb
|
233
|
+
- spec/models/unset_label_response_spec.rb
|
234
|
+
- spec/models/unset_label_spec.rb
|
223
235
|
- spec/spec_helper.rb
|
224
236
|
homepage: https://github.com/pulp/pulp_python
|
225
237
|
licenses:
|
226
238
|
- GPLv2+
|
227
239
|
metadata: {}
|
228
|
-
post_install_message:
|
240
|
+
post_install_message:
|
229
241
|
rdoc_options: []
|
230
242
|
require_paths:
|
231
243
|
- lib
|
@@ -240,55 +252,59 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
240
252
|
- !ruby/object:Gem::Version
|
241
253
|
version: '0'
|
242
254
|
requirements: []
|
243
|
-
rubygems_version: 3.
|
244
|
-
signing_key:
|
255
|
+
rubygems_version: 3.4.20
|
256
|
+
signing_key:
|
245
257
|
specification_version: 4
|
246
258
|
summary: Pulp 3 API Ruby Gem
|
247
259
|
test_files:
|
248
|
-
- spec/api/content_packages_api_spec.rb
|
249
|
-
- spec/api/pypi_simple_api_spec.rb
|
250
260
|
- spec/api/repositories_python_api_spec.rb
|
261
|
+
- spec/api/pypi_legacy_api_spec.rb
|
262
|
+
- spec/api/pypi_simple_api_spec.rb
|
251
263
|
- spec/api/pypi_metadata_api_spec.rb
|
252
|
-
- spec/api/
|
253
|
-
- spec/api/repositories_python_versions_api_spec.rb
|
264
|
+
- spec/api/remotes_python_api_spec.rb
|
254
265
|
- spec/api/publications_pypi_api_spec.rb
|
255
266
|
- spec/api/pypi_api_spec.rb
|
256
|
-
- spec/api/
|
257
|
-
- spec/api/
|
267
|
+
- spec/api/distributions_pypi_api_spec.rb
|
268
|
+
- spec/api/content_packages_api_spec.rb
|
269
|
+
- spec/api/repositories_python_versions_api_spec.rb
|
258
270
|
- spec/api_client_spec.rb
|
259
271
|
- spec/configuration_spec.rb
|
260
|
-
- spec/models/
|
261
|
-
- spec/models/
|
262
|
-
- spec/models/
|
272
|
+
- spec/models/patchedpython_python_repository_spec.rb
|
273
|
+
- spec/models/unset_label_spec.rb
|
274
|
+
- spec/models/python_python_remote_response_spec.rb
|
275
|
+
- spec/models/repair_spec.rb
|
276
|
+
- spec/models/python_python_repository_response_spec.rb
|
263
277
|
- spec/models/paginatedpython_python_distribution_response_list_spec.rb
|
278
|
+
- spec/models/repository_version_response_spec.rb
|
279
|
+
- spec/models/policy_enum_spec.rb
|
280
|
+
- spec/models/paginatedpython_python_package_content_response_list_spec.rb
|
281
|
+
- spec/models/paginated_repository_version_response_list_spec.rb
|
282
|
+
- spec/models/python_python_distribution_spec.rb
|
264
283
|
- spec/models/paginatedpython_python_publication_response_list_spec.rb
|
284
|
+
- spec/models/unset_label_response_spec.rb
|
285
|
+
- spec/models/set_label_response_spec.rb
|
265
286
|
- spec/models/python_bander_remote_spec.rb
|
266
|
-
- spec/models/
|
267
|
-
- spec/models/patchedpython_python_repository_spec.rb
|
268
|
-
- spec/models/python_python_repository_spec.rb
|
269
|
-
- spec/models/package_metadata_response_spec.rb
|
270
|
-
- spec/models/python_python_publication_response_spec.rb
|
287
|
+
- spec/models/python_python_remote_spec.rb
|
271
288
|
- spec/models/python_python_remote_response_hidden_fields_spec.rb
|
272
|
-
- spec/models/
|
273
|
-
- spec/models/repository_add_remove_content_spec.rb
|
274
|
-
- spec/models/repair_spec.rb
|
289
|
+
- spec/models/python_python_package_content_response_spec.rb
|
275
290
|
- spec/models/exclude_platforms_enum_spec.rb
|
276
|
-
- spec/models/
|
291
|
+
- spec/models/python_python_publication_spec.rb
|
292
|
+
- spec/models/content_summary_response_spec.rb
|
293
|
+
- spec/models/python_python_package_content_spec.rb
|
277
294
|
- spec/models/patchedpython_python_distribution_spec.rb
|
278
|
-
- spec/models/
|
295
|
+
- spec/models/python_python_publication_response_spec.rb
|
296
|
+
- spec/models/paginatedpython_python_remote_response_list_spec.rb
|
297
|
+
- spec/models/package_metadata_response_spec.rb
|
279
298
|
- spec/models/async_operation_response_spec.rb
|
280
|
-
- spec/models/
|
281
|
-
- spec/models/
|
282
|
-
- spec/models/
|
283
|
-
- spec/models/
|
284
|
-
- spec/models/
|
299
|
+
- spec/models/summary_response_spec.rb
|
300
|
+
- spec/models/repository_sync_url_spec.rb
|
301
|
+
- spec/models/package_upload_spec.rb
|
302
|
+
- spec/models/set_label_spec.rb
|
303
|
+
- spec/models/package_upload_task_response_spec.rb
|
304
|
+
- spec/models/python_python_repository_spec.rb
|
305
|
+
- spec/models/repository_add_remove_content_spec.rb
|
285
306
|
- spec/models/patchedpython_python_remote_spec.rb
|
286
|
-
- spec/models/
|
287
|
-
- spec/models/
|
288
|
-
- spec/models/python_python_package_content_response_spec.rb
|
289
|
-
- spec/models/paginated_repository_version_response_list_spec.rb
|
290
|
-
- spec/models/python_python_publication_spec.rb
|
307
|
+
- spec/models/package_types_enum_spec.rb
|
308
|
+
- spec/models/paginatedpython_python_repository_response_list_spec.rb
|
291
309
|
- spec/models/python_python_distribution_response_spec.rb
|
292
|
-
- spec/models/python_python_repository_response_spec.rb
|
293
|
-
- spec/models/python_python_distribution_spec.rb
|
294
310
|
- spec/spec_helper.rb
|