pulp_python_client 3.32.1 → 3.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +13 -4
  3. data/docs/ContentPackagesApi.md +2 -0
  4. data/docs/ContentYanksApi.md +341 -0
  5. data/docs/PaginatedpythonPackageYankResponseList.md +24 -0
  6. data/docs/PatchedpythonPythonRepository.md +3 -1
  7. data/docs/PypiLegacyApi.md +2 -2
  8. data/docs/PypiSimpleApi.md +2 -2
  9. data/docs/PypiUnyankApi.md +84 -0
  10. data/docs/PypiYankApi.md +84 -0
  11. data/docs/PythonPackageYankResponse.md +34 -0
  12. data/docs/PythonPythonRepository.md +3 -1
  13. data/docs/PythonPythonRepositoryResponse.md +2 -0
  14. data/docs/Yank.md +22 -0
  15. data/lib/pulp_python_client/api/content_packages_api.rb +3 -0
  16. data/lib/pulp_python_client/api/content_yanks_api.rb +354 -0
  17. data/lib/pulp_python_client/api/pypi_legacy_api.rb +2 -2
  18. data/lib/pulp_python_client/api/pypi_simple_api.rb +2 -2
  19. data/lib/pulp_python_client/api/pypi_unyank_api.rb +99 -0
  20. data/lib/pulp_python_client/api/pypi_yank_api.rb +99 -0
  21. data/lib/pulp_python_client/models/metadata_version_enum.rb +2 -1
  22. data/lib/pulp_python_client/models/paginatedpython_package_yank_response_list.rb +257 -0
  23. data/lib/pulp_python_client/models/patchedpython_python_repository.rb +16 -4
  24. data/lib/pulp_python_client/models/python_package_yank_response.rb +293 -0
  25. data/lib/pulp_python_client/models/python_python_repository.rb +16 -4
  26. data/lib/pulp_python_client/models/python_python_repository_response.rb +13 -1
  27. data/lib/pulp_python_client/models/yank.rb +290 -0
  28. data/lib/pulp_python_client/version.rb +1 -1
  29. data/lib/pulp_python_client.rb +6 -0
  30. data/spec/api/content_packages_api_spec.rb +1 -0
  31. data/spec/api/content_yanks_api_spec.rb +104 -0
  32. data/spec/api/pypi_legacy_api_spec.rb +1 -1
  33. data/spec/api/pypi_simple_api_spec.rb +1 -1
  34. data/spec/api/pypi_unyank_api_spec.rb +49 -0
  35. data/spec/api/pypi_yank_api_spec.rb +49 -0
  36. data/spec/models/paginatedpython_package_yank_response_list_spec.rb +54 -0
  37. data/spec/models/patchedpython_python_repository_spec.rb +6 -0
  38. data/spec/models/python_package_yank_response_spec.rb +84 -0
  39. data/spec/models/python_python_repository_response_spec.rb +6 -0
  40. data/spec/models/python_python_repository_spec.rb +6 -0
  41. data/spec/models/yank_spec.rb +48 -0
  42. metadata +71 -47
@@ -31,6 +31,7 @@ require 'pulp_python_client/models/package_types_enum'
31
31
  require 'pulp_python_client/models/package_upload_task_response'
32
32
  require 'pulp_python_client/models/paginated_repository_version_response_list'
33
33
  require 'pulp_python_client/models/paginatedpython_package_provenance_response_list'
34
+ require 'pulp_python_client/models/paginatedpython_package_yank_response_list'
34
35
  require 'pulp_python_client/models/paginatedpython_python_blocklist_entry_response_list'
35
36
  require 'pulp_python_client/models/paginatedpython_python_distribution_response_list'
36
37
  require 'pulp_python_client/models/paginatedpython_python_package_content_response_list'
@@ -43,6 +44,7 @@ require 'pulp_python_client/models/patchedpython_python_repository'
43
44
  require 'pulp_python_client/models/policy_enum'
44
45
  require 'pulp_python_client/models/protocol_version_enum'
45
46
  require 'pulp_python_client/models/python_package_provenance_response'
47
+ require 'pulp_python_client/models/python_package_yank_response'
46
48
  require 'pulp_python_client/models/python_python_blocklist_entry'
47
49
  require 'pulp_python_client/models/python_python_blocklist_entry_response'
48
50
  require 'pulp_python_client/models/python_python_distribution'
@@ -66,10 +68,12 @@ require 'pulp_python_client/models/set_label_response'
66
68
  require 'pulp_python_client/models/summary_response'
67
69
  require 'pulp_python_client/models/unset_label'
68
70
  require 'pulp_python_client/models/unset_label_response'
71
+ require 'pulp_python_client/models/yank'
69
72
 
70
73
  # APIs
71
74
  require 'pulp_python_client/api/content_packages_api'
72
75
  require 'pulp_python_client/api/content_provenance_api'
76
+ require 'pulp_python_client/api/content_yanks_api'
73
77
  require 'pulp_python_client/api/distributions_pypi_api'
74
78
  require 'pulp_python_client/api/publications_pypi_api'
75
79
  require 'pulp_python_client/api/pypi_api'
@@ -77,6 +81,8 @@ require 'pulp_python_client/api/pypi_legacy_api'
77
81
  require 'pulp_python_client/api/pypi_metadata_api'
78
82
  require 'pulp_python_client/api/pypi_provenance_api'
79
83
  require 'pulp_python_client/api/pypi_simple_api'
84
+ require 'pulp_python_client/api/pypi_unyank_api'
85
+ require 'pulp_python_client/api/pypi_yank_api'
80
86
  require 'pulp_python_client/api/remotes_python_api'
81
87
  require 'pulp_python_client/api/repositories_python_api'
82
88
  require 'pulp_python_client/api/repositories_python_blocklist_entries_api'
@@ -121,6 +121,7 @@ describe 'ContentPackagesApi' do
121
121
  # @option opts [String] :version__gte Filter results where version is greater than or equal to value
122
122
  # @option opts [String] :version__lt Filter results where version is less than value
123
123
  # @option opts [String] :version__lte Filter results where version is less than or equal to value
124
+ # @option opts [String] :version_specifier Filter by PEP 440 version specifier (e.g., >=2.4,<3.0 or ~=1.26)
124
125
  # @option opts [Array<String>] :fields A list of fields to include in the response.
125
126
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
126
127
  # @return [PaginatedpythonPythonPackageContentResponseList]
@@ -0,0 +1,104 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::ContentYanksApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'ContentYanksApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::ContentYanksApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of ContentYanksApi' do
30
+ it 'should create an instance of ContentYanksApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::ContentYanksApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for list
36
+ # List package yanks
37
+ # Read-only viewset for PackageYank content units (PEP 592). PackageYank markers indicate that a package version has been yanked in a repository. Use the /yank/ and /unyank/ PyPI endpoints to create or remove these markers.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
40
+ # @option opts [Integer] :limit Number of results to return per page.
41
+ # @option opts [Integer] :offset The initial index from which to return the results.
42
+ # @option opts [Array<String>] :ordering Ordering * &#x60;pk&#x60; - Pk * &#x60;-pk&#x60; - Pk (descending)
43
+ # @option opts [Float] :orphaned_for Minutes Content has been orphaned for. -1 uses ORPHAN_PROTECTION_TIME.
44
+ # @option opts [Array<String>] :prn__in Multiple values may be separated by commas.
45
+ # @option opts [Array<String>] :pulp_href__in Multiple values may be separated by commas.
46
+ # @option opts [Array<String>] :pulp_id__in Multiple values may be separated by commas.
47
+ # @option opts [String] :pulp_label_select Filter labels by search string
48
+ # @option opts [String] :q Filter results by using NOT, AND and OR operations on other filters
49
+ # @option opts [String] :repository_version
50
+ # @option opts [String] :repository_version_added
51
+ # @option opts [String] :repository_version_removed
52
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
53
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
54
+ # @return [PaginatedpythonPackageYankResponseList]
55
+ describe 'list test' do
56
+ it 'should work' do
57
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
58
+ end
59
+ end
60
+
61
+ # unit tests for read
62
+ # Inspect a package yank
63
+ # Read-only viewset for PackageYank content units (PEP 592). PackageYank markers indicate that a package version has been yanked in a repository. Use the /yank/ and /unyank/ PyPI endpoints to create or remove these markers.
64
+ # @param python_package_yank_href
65
+ # @param [Hash] opts the optional parameters
66
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
67
+ # @option opts [Array<String>] :fields A list of fields to include in the response.
68
+ # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
69
+ # @return [PythonPackageYankResponse]
70
+ describe 'read test' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
73
+ end
74
+ end
75
+
76
+ # unit tests for set_label
77
+ # Set a label
78
+ # Set a single pulp_label on the object to a specific value or null.
79
+ # @param python_package_yank_href
80
+ # @param set_label
81
+ # @param [Hash] opts the optional parameters
82
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
83
+ # @return [SetLabelResponse]
84
+ describe 'set_label test' do
85
+ it 'should work' do
86
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
87
+ end
88
+ end
89
+
90
+ # unit tests for unset_label
91
+ # Unset a label
92
+ # Unset a single pulp_label on the object.
93
+ # @param python_package_yank_href
94
+ # @param unset_label
95
+ # @param [Hash] opts the optional parameters
96
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
97
+ # @return [UnsetLabelResponse]
98
+ describe 'unset_label test' do
99
+ it 'should work' do
100
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
101
+ end
102
+ end
103
+
104
+ end
@@ -43,7 +43,7 @@ describe 'PypiLegacyApi' do
43
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail!
44
44
  # @option opts [ProtocolVersionEnum] :protocol_version Protocol version to use for the upload. Only version 1 is supported. * &#x60;1&#x60; - 1
45
45
  # @option opts [FiletypeEnum] :filetype Type of artifact to upload. * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;sdist&#x60; - sdist
46
- # @option opts [MetadataVersionEnum] :metadata_version Metadata version of the uploaded package. * &#x60;1.0&#x60; - 1.0 * &#x60;1.1&#x60; - 1.1 * &#x60;1.2&#x60; - 1.2 * &#x60;2.0&#x60; - 2.0 * &#x60;2.1&#x60; - 2.1 * &#x60;2.2&#x60; - 2.2 * &#x60;2.3&#x60; - 2.3 * &#x60;2.4&#x60; - 2.4
46
+ # @option opts [MetadataVersionEnum] :metadata_version Metadata version of the uploaded package. * &#x60;1.0&#x60; - 1.0 * &#x60;1.1&#x60; - 1.1 * &#x60;1.2&#x60; - 1.2 * &#x60;2.0&#x60; - 2.0 * &#x60;2.1&#x60; - 2.1 * &#x60;2.2&#x60; - 2.2 * &#x60;2.3&#x60; - 2.3 * &#x60;2.4&#x60; - 2.4 * &#x60;2.5&#x60; - 2.5
47
47
  # @option opts [Object] :attestations
48
48
  # @return [PackageUploadTaskResponse]
49
49
  describe 'create test' do
@@ -43,7 +43,7 @@ describe 'PypiSimpleApi' do
43
43
  # @option opts [String] :action Defaults to &#x60;file_upload&#x60;, don&#39;t change it or request will fail!
44
44
  # @option opts [ProtocolVersionEnum] :protocol_version Protocol version to use for the upload. Only version 1 is supported. * &#x60;1&#x60; - 1
45
45
  # @option opts [FiletypeEnum] :filetype Type of artifact to upload. * &#x60;bdist_wheel&#x60; - bdist_wheel * &#x60;sdist&#x60; - sdist
46
- # @option opts [MetadataVersionEnum] :metadata_version Metadata version of the uploaded package. * &#x60;1.0&#x60; - 1.0 * &#x60;1.1&#x60; - 1.1 * &#x60;1.2&#x60; - 1.2 * &#x60;2.0&#x60; - 2.0 * &#x60;2.1&#x60; - 2.1 * &#x60;2.2&#x60; - 2.2 * &#x60;2.3&#x60; - 2.3 * &#x60;2.4&#x60; - 2.4
46
+ # @option opts [MetadataVersionEnum] :metadata_version Metadata version of the uploaded package. * &#x60;1.0&#x60; - 1.0 * &#x60;1.1&#x60; - 1.1 * &#x60;1.2&#x60; - 1.2 * &#x60;2.0&#x60; - 2.0 * &#x60;2.1&#x60; - 2.1 * &#x60;2.2&#x60; - 2.2 * &#x60;2.3&#x60; - 2.3 * &#x60;2.4&#x60; - 2.4 * &#x60;2.5&#x60; - 2.5
47
47
  # @option opts [Object] :attestations
48
48
  # @return [PackageUploadTaskResponse]
49
49
  describe 'create test' do
@@ -0,0 +1,49 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::PypiUnyankApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PypiUnyankApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::PypiUnyankApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PypiUnyankApi' do
30
+ it 'should create an instance of PypiUnyankApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::PypiUnyankApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for unyank
36
+ # Unyank a package version
37
+ # Unyank a package version, unmarking all its files with data-yanked.
38
+ # @param path
39
+ # @param yank
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
+ # @return [AsyncOperationResponse]
43
+ describe 'unyank test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,49 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for PulpPythonClient::PypiYankApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'PypiYankApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = PulpPythonClient::PypiYankApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of PypiYankApi' do
30
+ it 'should create an instance of PypiYankApi' do
31
+ expect(@api_instance).to be_instance_of(PulpPythonClient::PypiYankApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for yank
36
+ # Yank a package version
37
+ # Yank a package version, marking all its files with data-yanked.
38
+ # @param path
39
+ # @param yank
40
+ # @param [Hash] opts the optional parameters
41
+ # @option opts [Array<String>] :x_task_diagnostics List of profilers to use on tasks.
42
+ # @return [AsyncOperationResponse]
43
+ describe 'yank test' do
44
+ it 'should work' do
45
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
46
+ end
47
+ end
48
+
49
+ end
@@ -0,0 +1,54 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::PaginatedpythonPackageYankResponseList
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpPythonClient::PaginatedpythonPackageYankResponseList do
21
+ let(:instance) { PulpPythonClient::PaginatedpythonPackageYankResponseList.new }
22
+
23
+ describe 'test an instance of PaginatedpythonPackageYankResponseList' do
24
+ it 'should create an instance of PaginatedpythonPackageYankResponseList' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpPythonClient::PaginatedpythonPackageYankResponseList)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "count"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "_next"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "previous"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "results"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ end
@@ -75,4 +75,10 @@ describe PulpPythonClient::PatchedpythonPythonRepository do
75
75
  end
76
76
  end
77
77
 
78
+ describe 'test attribute "error_on_reject"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
78
84
  end
@@ -0,0 +1,84 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::PythonPackageYankResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpPythonClient::PythonPackageYankResponse do
21
+ let(:instance) { PulpPythonClient::PythonPackageYankResponse.new }
22
+
23
+ describe 'test an instance of PythonPackageYankResponse' do
24
+ it 'should create an instance of PythonPackageYankResponse' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpPythonClient::PythonPackageYankResponse)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "pulp_href"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "prn"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "pulp_created"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ describe 'test attribute "pulp_last_updated"' do
49
+ it 'should work' do
50
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
51
+ end
52
+ end
53
+
54
+ describe 'test attribute "pulp_labels"' do
55
+ it 'should work' do
56
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
57
+ end
58
+ end
59
+
60
+ describe 'test attribute "vuln_report"' do
61
+ it 'should work' do
62
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
63
+ end
64
+ end
65
+
66
+ describe 'test attribute "name_normalized"' do
67
+ it 'should work' do
68
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
69
+ end
70
+ end
71
+
72
+ describe 'test attribute "version"' do
73
+ it 'should work' do
74
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
75
+ end
76
+ end
77
+
78
+ describe 'test attribute "yanked_reason"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
84
+ end
@@ -111,6 +111,12 @@ describe PulpPythonClient::PythonPythonRepositoryResponse do
111
111
  end
112
112
  end
113
113
 
114
+ describe 'test attribute "error_on_reject"' do
115
+ it 'should work' do
116
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
117
+ end
118
+ end
119
+
114
120
  describe 'test attribute "blocklist_entries_href"' do
115
121
  it 'should work' do
116
122
  # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
@@ -75,4 +75,10 @@ describe PulpPythonClient::PythonPythonRepository do
75
75
  end
76
76
  end
77
77
 
78
+ describe 'test attribute "error_on_reject"' do
79
+ it 'should work' do
80
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
81
+ end
82
+ end
83
+
78
84
  end
@@ -0,0 +1,48 @@
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
+ Generator version: 7.10.0
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for PulpPythonClient::Yank
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe PulpPythonClient::Yank do
21
+ let(:instance) { PulpPythonClient::Yank.new }
22
+
23
+ describe 'test an instance of Yank' do
24
+ it 'should create an instance of Yank' do
25
+ # uncomment below to test the instance creation
26
+ #expect(instance).to be_instance_of(PulpPythonClient::Yank)
27
+ end
28
+ end
29
+
30
+ describe 'test attribute "name"' do
31
+ it 'should work' do
32
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
33
+ end
34
+ end
35
+
36
+ describe 'test attribute "version"' do
37
+ it 'should work' do
38
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
39
+ end
40
+ end
41
+
42
+ describe 'test attribute "yanked_reason"' do
43
+ it 'should work' do
44
+ # assertion here. ref: https://rspec.info/features/3-12/rspec-expectations/built-in-matchers/
45
+ end
46
+ end
47
+
48
+ end