pulp_rpm_client 3.13.2 → 3.13.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/pulp_rpm_client/api_client.rb +4 -2
- data/lib/pulp_rpm_client/configuration.rb +7 -0
- data/lib/pulp_rpm_client/version.rb +1 -1
- metadata +65 -339
- data/build/lib/pulpcore/__init__.py +0 -2
- data/build/lib/pulpcore/client/__init__.py +0 -2
- data/build/lib/pulpcore/client/pulp_rpm/__init__.py +0 -112
- data/build/lib/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
- data/build/lib/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
- data/build/lib/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
- data/build/lib/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
- data/build/lib/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
- data/build/lib/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
- data/build/lib/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
- data/build/lib/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
- data/build/lib/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
- data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
- data/build/lib/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
- data/build/lib/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
- data/build/lib/pulpcore/client/pulp_rpm/api_client.py +0 -667
- data/build/lib/pulpcore/client/pulp_rpm/configuration.py +0 -427
- data/build/lib/pulpcore/client/pulp_rpm/exceptions.py +0 -121
- data/build/lib/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
- data/build/lib/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
- data/build/lib/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
- data/build/lib/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
- data/build/lib/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
- data/build/lib/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
- data/build/lib/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
- data/build/lib/pulpcore/client/pulp_rpm/models/copy.py +0 -152
- data/build/lib/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
- data/build/lib/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
- data/build/lib/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
- data/build/lib/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
- data/build/lib/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
- data/build/lib/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
- data/build/lib/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
- data/build/lib/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
- data/build/lib/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
- data/build/lib/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
- data/build/lib/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
- data/build/lib/pulpcore/client/pulp_rpm/rest.py +0 -292
- data/dist/pulp_rpm-client-3.13.2.tar.gz +0 -0
- data/dist/pulp_rpm_client-3.13.2-py3-none-any.whl +0 -0
- data/pulp_rpm_client.egg-info/PKG-INFO +0 -15
- data/pulp_rpm_client.egg-info/SOURCES.txt +0 -179
- data/pulp_rpm_client.egg-info/dependency_links.txt +0 -1
- data/pulp_rpm_client.egg-info/requires.txt +0 -4
- data/pulp_rpm_client.egg-info/top_level.txt +0 -1
- data/pulpcore/__init__.py +0 -2
- data/pulpcore/client/__init__.py +0 -2
- data/pulpcore/client/pulp_rpm/__init__.py +0 -112
- data/pulpcore/client/pulp_rpm/api/__init__.py +0 -22
- data/pulpcore/client/pulp_rpm/api/content_advisories_api.py +0 -485
- data/pulpcore/client/pulp_rpm/api/content_distribution_trees_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_modulemd_defaults_api.py +0 -494
- data/pulpcore/client/pulp_rpm/api/content_modulemds_api.py +0 -533
- data/pulpcore/client/pulp_rpm/api/content_packagecategories_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packageenvironments_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packagegroups_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packagelangpacks_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/content_packages_api.py +0 -552
- data/pulpcore/client/pulp_rpm/api/content_repo_metadata_files_api.py +0 -307
- data/pulpcore/client/pulp_rpm/api/distributions_rpm_api.py +0 -830
- data/pulpcore/client/pulp_rpm/api/publications_rpm_api.py +0 -566
- data/pulpcore/client/pulp_rpm/api/remotes_rpm_api.py +0 -840
- data/pulpcore/client/pulp_rpm/api/remotes_uln_api.py +0 -840
- data/pulpcore/client/pulp_rpm/api/repositories_rpm_api.py +0 -1063
- data/pulpcore/client/pulp_rpm/api/repositories_rpm_versions_api.py +0 -614
- data/pulpcore/client/pulp_rpm/api/rpm_copy_api.py +0 -156
- data/pulpcore/client/pulp_rpm/api_client.py +0 -667
- data/pulpcore/client/pulp_rpm/configuration.py +0 -427
- data/pulpcore/client/pulp_rpm/exceptions.py +0 -121
- data/pulpcore/client/pulp_rpm/models/__init__.py +0 -81
- data/pulpcore/client/pulp_rpm/models/addon_response.py +0 -240
- data/pulpcore/client/pulp_rpm/models/artifact_response.py +0 -368
- data/pulpcore/client/pulp_rpm/models/async_operation_response.py +0 -124
- data/pulpcore/client/pulp_rpm/models/checksum_response.py +0 -153
- data/pulpcore/client/pulp_rpm/models/content_summary.py +0 -176
- data/pulpcore/client/pulp_rpm/models/content_summary_response.py +0 -176
- data/pulpcore/client/pulp_rpm/models/copy.py +0 -152
- data/pulpcore/client/pulp_rpm/models/image_response.py +0 -207
- data/pulpcore/client/pulp_rpm/models/metadata_checksum_type_enum.py +0 -106
- data/pulpcore/client/pulp_rpm/models/null_enum.py +0 -100
- data/pulpcore/client/pulp_rpm/models/package_checksum_type_enum.py +0 -106
- data/pulpcore/client/pulp_rpm/models/paginated_repository_version_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_distribution_tree_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_defaults_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_modulemd_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_category_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_environment_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_group_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_langpacks_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_package_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_repo_metadata_file_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_distribution_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_publication_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_rpm_repository_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_uln_remote_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/paginatedrpm_update_record_response_list.py +0 -197
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_distribution.py +0 -258
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_remote.py +0 -682
- data/pulpcore/client/pulp_rpm/models/patchedrpm_rpm_repository.py +0 -467
- data/pulpcore/client/pulp_rpm/models/patchedrpm_uln_remote.py +0 -684
- data/pulpcore/client/pulp_rpm/models/policy_enum.py +0 -102
- data/pulpcore/client/pulp_rpm/models/repository_add_remove_content.py +0 -179
- data/pulpcore/client/pulp_rpm/models/repository_version.py +0 -123
- data/pulpcore/client/pulp_rpm/models/repository_version_response.py +0 -257
- data/pulpcore/client/pulp_rpm/models/rpm_distribution_tree_response.py +0 -621
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd.py +0 -463
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults.py +0 -295
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_defaults_response.py +0 -432
- data/pulpcore/client/pulp_rpm/models/rpm_modulemd_response.py +0 -600
- data/pulpcore/client/pulp_rpm/models/rpm_package.py +0 -208
- data/pulpcore/client/pulp_rpm/models/rpm_package_category_response.py +0 -373
- data/pulpcore/client/pulp_rpm/models/rpm_package_environment_response.py +0 -400
- data/pulpcore/client/pulp_rpm/models/rpm_package_group_response.py +0 -457
- data/pulpcore/client/pulp_rpm/models/rpm_package_langpacks_response.py +0 -203
- data/pulpcore/client/pulp_rpm/models/rpm_package_response.py +0 -1353
- data/pulpcore/client/pulp_rpm/models/rpm_repo_metadata_file_response.py +0 -461
- data/pulpcore/client/pulp_rpm/models/rpm_repository_sync_url.py +0 -207
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution.py +0 -260
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_distribution_response.py +0 -342
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication.py +0 -301
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_publication_response.py +0 -355
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote.py +0 -684
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_remote_response.py +0 -631
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository.py +0 -468
- data/pulpcore/client/pulp_rpm/models/rpm_rpm_repository_response.py +0 -574
- data/pulpcore/client/pulp_rpm/models/rpm_uln_remote.py +0 -688
- data/pulpcore/client/pulp_rpm/models/rpm_uln_remote_response.py +0 -689
- data/pulpcore/client/pulp_rpm/models/rpm_update_collection.py +0 -176
- data/pulpcore/client/pulp_rpm/models/rpm_update_collection_response.py +0 -204
- data/pulpcore/client/pulp_rpm/models/rpm_update_record.py +0 -151
- data/pulpcore/client/pulp_rpm/models/rpm_update_record_response.py +0 -653
- data/pulpcore/client/pulp_rpm/models/skip_types_enum.py +0 -100
- data/pulpcore/client/pulp_rpm/models/variant_response.py +0 -375
- data/pulpcore/client/pulp_rpm/rest.py +0 -292
- data/requirements.txt +0 -6
- data/setup.cfg +0 -2
- data/setup.py +0 -42
- data/test-requirements.txt +0 -3
- data/test/__init__.py +0 -0
- data/test/test_addon_response.py +0 -62
- data/test/test_artifact_response.py +0 -63
- data/test/test_async_operation_response.py +0 -54
- data/test/test_checksum_response.py +0 -56
- data/test/test_content_advisories_api.py +0 -55
- data/test/test_content_distribution_trees_api.py +0 -48
- data/test/test_content_modulemd_defaults_api.py +0 -55
- data/test/test_content_modulemds_api.py +0 -55
- data/test/test_content_packagecategories_api.py +0 -48
- data/test/test_content_packageenvironments_api.py +0 -48
- data/test/test_content_packagegroups_api.py +0 -48
- data/test/test_content_packagelangpacks_api.py +0 -48
- data/test/test_content_packages_api.py +0 -55
- data/test/test_content_repo_metadata_files_api.py +0 -48
- data/test/test_content_summary.py +0 -70
- data/test/test_content_summary_response.py +0 -70
- data/test/test_copy.py +0 -55
- data/test/test_distributions_rpm_api.py +0 -76
- data/test/test_image_response.py +0 -60
- data/test/test_metadata_checksum_type_enum.py +0 -52
- data/test/test_null_enum.py +0 -52
- data/test/test_package_checksum_type_enum.py +0 -52
- data/test/test_paginated_repository_version_response_list.py +0 -64
- data/test/test_paginatedrpm_distribution_tree_response_list.py +0 -106
- data/test/test_paginatedrpm_modulemd_defaults_response_list.py +0 -70
- data/test/test_paginatedrpm_modulemd_response_list.py +0 -78
- data/test/test_paginatedrpm_package_category_response_list.py +0 -68
- data/test/test_paginatedrpm_package_environment_response_list.py +0 -69
- data/test/test_paginatedrpm_package_group_response_list.py +0 -71
- data/test/test_paginatedrpm_package_langpacks_response_list.py +0 -62
- data/test/test_paginatedrpm_package_response_list.py +0 -103
- data/test/test_paginatedrpm_repo_metadata_file_response_list.py +0 -71
- data/test/test_paginatedrpm_rpm_distribution_response_list.py +0 -67
- data/test/test_paginatedrpm_rpm_publication_response_list.py +0 -67
- data/test/test_paginatedrpm_rpm_remote_response_list.py +0 -79
- data/test/test_paginatedrpm_rpm_repository_response_list.py +0 -75
- data/test/test_paginatedrpm_uln_remote_response_list.py +0 -81
- data/test/test_paginatedrpm_update_record_response_list.py +0 -88
- data/test/test_patchedrpm_rpm_distribution.py +0 -58
- data/test/test_patchedrpm_rpm_remote.py +0 -75
- data/test/test_patchedrpm_rpm_repository.py +0 -65
- data/test/test_patchedrpm_uln_remote.py +0 -75
- data/test/test_policy_enum.py +0 -52
- data/test/test_publications_rpm_api.py +0 -62
- data/test/test_remotes_rpm_api.py +0 -76
- data/test/test_remotes_uln_api.py +0 -76
- data/test/test_repositories_rpm_api.py +0 -90
- data/test/test_repositories_rpm_versions_api.py +0 -61
- data/test/test_repository_add_remove_content.py +0 -59
- data/test/test_repository_version.py +0 -53
- data/test/test_repository_version_response.py +0 -58
- data/test/test_rpm_copy_api.py +0 -41
- data/test/test_rpm_distribution_tree_response.py +0 -147
- data/test/test_rpm_modulemd.py +0 -75
- data/test/test_rpm_modulemd_defaults.py +0 -63
- data/test/test_rpm_modulemd_defaults_response.py +0 -67
- data/test/test_rpm_modulemd_response.py +0 -79
- data/test/test_rpm_package.py +0 -57
- data/test/test_rpm_package_category_response.py +0 -70
- data/test/test_rpm_package_environment_response.py +0 -72
- data/test/test_rpm_package_group_response.py +0 -73
- data/test/test_rpm_package_langpacks_response.py +0 -58
- data/test/test_rpm_package_response.py +0 -97
- data/test/test_rpm_repo_metadata_file_response.py +0 -69
- data/test/test_rpm_repository_sync_url.py +0 -58
- data/test/test_rpm_rpm_distribution.py +0 -60
- data/test/test_rpm_rpm_distribution_response.py +0 -63
- data/test/test_rpm_rpm_publication.py +0 -59
- data/test/test_rpm_rpm_publication_response.py +0 -61
- data/test/test_rpm_rpm_remote.py +0 -77
- data/test/test_rpm_rpm_remote_response.py +0 -75
- data/test/test_rpm_rpm_repository.py +0 -66
- data/test/test_rpm_rpm_repository_response.py +0 -70
- data/test/test_rpm_uln_remote.py +0 -79
- data/test/test_rpm_uln_remote_response.py +0 -79
- data/test/test_rpm_update_collection.py +0 -58
- data/test/test_rpm_update_collection_response.py +0 -61
- data/test/test_rpm_update_record.py +0 -54
- data/test/test_rpm_update_record_response.py +0 -82
- data/test/test_skip_types_enum.py +0 -52
- data/test/test_variant_response.py +0 -72
- data/tox.ini +0 -9
@@ -1,68 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_rpm
|
20
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_category_response_list import PaginatedrpmPackageCategoryResponseList # noqa: E501
|
21
|
-
from pulpcore.client.pulp_rpm.rest import ApiException
|
22
|
-
|
23
|
-
class TestPaginatedrpmPackageCategoryResponseList(unittest.TestCase):
|
24
|
-
"""PaginatedrpmPackageCategoryResponseList unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test PaginatedrpmPackageCategoryResponseList
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_rpm.models.paginatedrpm_package_category_response_list.PaginatedrpmPackageCategoryResponseList() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return PaginatedrpmPackageCategoryResponseList(
|
40
|
-
count = 123,
|
41
|
-
next = 'http://api.example.org/accounts/?offset=400&limit=100',
|
42
|
-
previous = 'http://api.example.org/accounts/?offset=200&limit=100',
|
43
|
-
results = [
|
44
|
-
pulpcore.client.pulp_rpm.models.rpm/package_category_response.rpm.PackageCategoryResponse(
|
45
|
-
pulp_href = '0',
|
46
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
47
|
-
id = '0',
|
48
|
-
name = '0',
|
49
|
-
description = '0',
|
50
|
-
display_order = 56,
|
51
|
-
group_ids = pulpcore.client.pulp_rpm.models.group_ids.group_ids(),
|
52
|
-
desc_by_lang = pulpcore.client.pulp_rpm.models.desc_by_lang.desc_by_lang(),
|
53
|
-
name_by_lang = pulpcore.client.pulp_rpm.models.name_by_lang.name_by_lang(),
|
54
|
-
digest = '0', )
|
55
|
-
]
|
56
|
-
)
|
57
|
-
else :
|
58
|
-
return PaginatedrpmPackageCategoryResponseList(
|
59
|
-
)
|
60
|
-
|
61
|
-
def testPaginatedrpmPackageCategoryResponseList(self):
|
62
|
-
"""Test PaginatedrpmPackageCategoryResponseList"""
|
63
|
-
inst_req_only = self.make_instance(include_optional=False)
|
64
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
65
|
-
|
66
|
-
|
67
|
-
if __name__ == '__main__':
|
68
|
-
unittest.main()
|
@@ -1,69 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_rpm
|
20
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_environment_response_list import PaginatedrpmPackageEnvironmentResponseList # noqa: E501
|
21
|
-
from pulpcore.client.pulp_rpm.rest import ApiException
|
22
|
-
|
23
|
-
class TestPaginatedrpmPackageEnvironmentResponseList(unittest.TestCase):
|
24
|
-
"""PaginatedrpmPackageEnvironmentResponseList unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test PaginatedrpmPackageEnvironmentResponseList
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_rpm.models.paginatedrpm_package_environment_response_list.PaginatedrpmPackageEnvironmentResponseList() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return PaginatedrpmPackageEnvironmentResponseList(
|
40
|
-
count = 123,
|
41
|
-
next = 'http://api.example.org/accounts/?offset=400&limit=100',
|
42
|
-
previous = 'http://api.example.org/accounts/?offset=200&limit=100',
|
43
|
-
results = [
|
44
|
-
pulpcore.client.pulp_rpm.models.rpm/package_environment_response.rpm.PackageEnvironmentResponse(
|
45
|
-
pulp_href = '0',
|
46
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
47
|
-
id = '0',
|
48
|
-
name = '0',
|
49
|
-
description = '0',
|
50
|
-
display_order = 56,
|
51
|
-
group_ids = pulpcore.client.pulp_rpm.models.group_ids.group_ids(),
|
52
|
-
option_ids = pulpcore.client.pulp_rpm.models.option_ids.option_ids(),
|
53
|
-
desc_by_lang = pulpcore.client.pulp_rpm.models.desc_by_lang.desc_by_lang(),
|
54
|
-
name_by_lang = pulpcore.client.pulp_rpm.models.name_by_lang.name_by_lang(),
|
55
|
-
digest = '0', )
|
56
|
-
]
|
57
|
-
)
|
58
|
-
else :
|
59
|
-
return PaginatedrpmPackageEnvironmentResponseList(
|
60
|
-
)
|
61
|
-
|
62
|
-
def testPaginatedrpmPackageEnvironmentResponseList(self):
|
63
|
-
"""Test PaginatedrpmPackageEnvironmentResponseList"""
|
64
|
-
inst_req_only = self.make_instance(include_optional=False)
|
65
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
66
|
-
|
67
|
-
|
68
|
-
if __name__ == '__main__':
|
69
|
-
unittest.main()
|
@@ -1,71 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_rpm
|
20
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_group_response_list import PaginatedrpmPackageGroupResponseList # noqa: E501
|
21
|
-
from pulpcore.client.pulp_rpm.rest import ApiException
|
22
|
-
|
23
|
-
class TestPaginatedrpmPackageGroupResponseList(unittest.TestCase):
|
24
|
-
"""PaginatedrpmPackageGroupResponseList unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test PaginatedrpmPackageGroupResponseList
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_rpm.models.paginatedrpm_package_group_response_list.PaginatedrpmPackageGroupResponseList() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return PaginatedrpmPackageGroupResponseList(
|
40
|
-
count = 123,
|
41
|
-
next = 'http://api.example.org/accounts/?offset=400&limit=100',
|
42
|
-
previous = 'http://api.example.org/accounts/?offset=200&limit=100',
|
43
|
-
results = [
|
44
|
-
pulpcore.client.pulp_rpm.models.rpm/package_group_response.rpm.PackageGroupResponse(
|
45
|
-
pulp_href = '0',
|
46
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
47
|
-
id = '0',
|
48
|
-
default = True,
|
49
|
-
user_visible = True,
|
50
|
-
display_order = 56,
|
51
|
-
name = '0',
|
52
|
-
description = '0',
|
53
|
-
packages = pulpcore.client.pulp_rpm.models.packages.packages(),
|
54
|
-
biarch_only = True,
|
55
|
-
desc_by_lang = pulpcore.client.pulp_rpm.models.desc_by_lang.desc_by_lang(),
|
56
|
-
name_by_lang = pulpcore.client.pulp_rpm.models.name_by_lang.name_by_lang(),
|
57
|
-
digest = '0', )
|
58
|
-
]
|
59
|
-
)
|
60
|
-
else :
|
61
|
-
return PaginatedrpmPackageGroupResponseList(
|
62
|
-
)
|
63
|
-
|
64
|
-
def testPaginatedrpmPackageGroupResponseList(self):
|
65
|
-
"""Test PaginatedrpmPackageGroupResponseList"""
|
66
|
-
inst_req_only = self.make_instance(include_optional=False)
|
67
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
68
|
-
|
69
|
-
|
70
|
-
if __name__ == '__main__':
|
71
|
-
unittest.main()
|
@@ -1,62 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_rpm
|
20
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_langpacks_response_list import PaginatedrpmPackageLangpacksResponseList # noqa: E501
|
21
|
-
from pulpcore.client.pulp_rpm.rest import ApiException
|
22
|
-
|
23
|
-
class TestPaginatedrpmPackageLangpacksResponseList(unittest.TestCase):
|
24
|
-
"""PaginatedrpmPackageLangpacksResponseList unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test PaginatedrpmPackageLangpacksResponseList
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_rpm.models.paginatedrpm_package_langpacks_response_list.PaginatedrpmPackageLangpacksResponseList() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return PaginatedrpmPackageLangpacksResponseList(
|
40
|
-
count = 123,
|
41
|
-
next = 'http://api.example.org/accounts/?offset=400&limit=100',
|
42
|
-
previous = 'http://api.example.org/accounts/?offset=200&limit=100',
|
43
|
-
results = [
|
44
|
-
pulpcore.client.pulp_rpm.models.rpm/package_langpacks_response.rpm.PackageLangpacksResponse(
|
45
|
-
pulp_href = '0',
|
46
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
47
|
-
matches = pulpcore.client.pulp_rpm.models.matches.matches(),
|
48
|
-
digest = '0', )
|
49
|
-
]
|
50
|
-
)
|
51
|
-
else :
|
52
|
-
return PaginatedrpmPackageLangpacksResponseList(
|
53
|
-
)
|
54
|
-
|
55
|
-
def testPaginatedrpmPackageLangpacksResponseList(self):
|
56
|
-
"""Test PaginatedrpmPackageLangpacksResponseList"""
|
57
|
-
inst_req_only = self.make_instance(include_optional=False)
|
58
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
59
|
-
|
60
|
-
|
61
|
-
if __name__ == '__main__':
|
62
|
-
unittest.main()
|
@@ -1,103 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_rpm
|
20
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_package_response_list import PaginatedrpmPackageResponseList # noqa: E501
|
21
|
-
from pulpcore.client.pulp_rpm.rest import ApiException
|
22
|
-
|
23
|
-
class TestPaginatedrpmPackageResponseList(unittest.TestCase):
|
24
|
-
"""PaginatedrpmPackageResponseList unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test PaginatedrpmPackageResponseList
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_rpm.models.paginatedrpm_package_response_list.PaginatedrpmPackageResponseList() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return PaginatedrpmPackageResponseList(
|
40
|
-
count = 123,
|
41
|
-
next = 'http://api.example.org/accounts/?offset=400&limit=100',
|
42
|
-
previous = 'http://api.example.org/accounts/?offset=200&limit=100',
|
43
|
-
results = [
|
44
|
-
pulpcore.client.pulp_rpm.models.rpm/package_response.rpm.PackageResponse(
|
45
|
-
pulp_href = '0',
|
46
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
47
|
-
md5 = '0',
|
48
|
-
sha1 = '0',
|
49
|
-
sha224 = '0',
|
50
|
-
sha256 = '0',
|
51
|
-
sha384 = '0',
|
52
|
-
sha512 = '0',
|
53
|
-
artifact = '0',
|
54
|
-
name = '0',
|
55
|
-
epoch = '0',
|
56
|
-
version = '0',
|
57
|
-
release = '0',
|
58
|
-
arch = '0',
|
59
|
-
pkg_id = '0',
|
60
|
-
checksum_type = '0',
|
61
|
-
summary = '0',
|
62
|
-
description = '0',
|
63
|
-
url = '0',
|
64
|
-
changelogs = pulpcore.client.pulp_rpm.models.changelogs.changelogs(),
|
65
|
-
files = pulpcore.client.pulp_rpm.models.files.files(),
|
66
|
-
requires = pulpcore.client.pulp_rpm.models.requires.requires(),
|
67
|
-
provides = pulpcore.client.pulp_rpm.models.provides.provides(),
|
68
|
-
conflicts = pulpcore.client.pulp_rpm.models.conflicts.conflicts(),
|
69
|
-
obsoletes = pulpcore.client.pulp_rpm.models.obsoletes.obsoletes(),
|
70
|
-
suggests = pulpcore.client.pulp_rpm.models.suggests.suggests(),
|
71
|
-
enhances = pulpcore.client.pulp_rpm.models.enhances.enhances(),
|
72
|
-
recommends = pulpcore.client.pulp_rpm.models.recommends.recommends(),
|
73
|
-
supplements = pulpcore.client.pulp_rpm.models.supplements.supplements(),
|
74
|
-
location_base = '0',
|
75
|
-
location_href = '0',
|
76
|
-
rpm_buildhost = '0',
|
77
|
-
rpm_group = '0',
|
78
|
-
rpm_license = '0',
|
79
|
-
rpm_packager = '0',
|
80
|
-
rpm_sourcerpm = '0',
|
81
|
-
rpm_vendor = '0',
|
82
|
-
rpm_header_start = 56,
|
83
|
-
rpm_header_end = 56,
|
84
|
-
is_modular = True,
|
85
|
-
size_archive = 56,
|
86
|
-
size_installed = 56,
|
87
|
-
size_package = 56,
|
88
|
-
time_build = 56,
|
89
|
-
time_file = 56, )
|
90
|
-
]
|
91
|
-
)
|
92
|
-
else :
|
93
|
-
return PaginatedrpmPackageResponseList(
|
94
|
-
)
|
95
|
-
|
96
|
-
def testPaginatedrpmPackageResponseList(self):
|
97
|
-
"""Test PaginatedrpmPackageResponseList"""
|
98
|
-
inst_req_only = self.make_instance(include_optional=False)
|
99
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
100
|
-
|
101
|
-
|
102
|
-
if __name__ == '__main__':
|
103
|
-
unittest.main()
|
@@ -1,71 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
|
3
|
-
"""
|
4
|
-
Pulp 3 API
|
5
|
-
|
6
|
-
Fetch, Upload, Organize, and Distribute Software Packages # noqa: E501
|
7
|
-
|
8
|
-
The version of the OpenAPI document: v3
|
9
|
-
Contact: pulp-list@redhat.com
|
10
|
-
Generated by: https://openapi-generator.tech
|
11
|
-
"""
|
12
|
-
|
13
|
-
|
14
|
-
from __future__ import absolute_import
|
15
|
-
|
16
|
-
import unittest
|
17
|
-
import datetime
|
18
|
-
|
19
|
-
import pulpcore.client.pulp_rpm
|
20
|
-
from pulpcore.client.pulp_rpm.models.paginatedrpm_repo_metadata_file_response_list import PaginatedrpmRepoMetadataFileResponseList # noqa: E501
|
21
|
-
from pulpcore.client.pulp_rpm.rest import ApiException
|
22
|
-
|
23
|
-
class TestPaginatedrpmRepoMetadataFileResponseList(unittest.TestCase):
|
24
|
-
"""PaginatedrpmRepoMetadataFileResponseList unit test stubs"""
|
25
|
-
|
26
|
-
def setUp(self):
|
27
|
-
pass
|
28
|
-
|
29
|
-
def tearDown(self):
|
30
|
-
pass
|
31
|
-
|
32
|
-
def make_instance(self, include_optional):
|
33
|
-
"""Test PaginatedrpmRepoMetadataFileResponseList
|
34
|
-
include_option is a boolean, when False only required
|
35
|
-
params are included, when True both required and
|
36
|
-
optional params are included """
|
37
|
-
# model = pulpcore.client.pulp_rpm.models.paginatedrpm_repo_metadata_file_response_list.PaginatedrpmRepoMetadataFileResponseList() # noqa: E501
|
38
|
-
if include_optional :
|
39
|
-
return PaginatedrpmRepoMetadataFileResponseList(
|
40
|
-
count = 123,
|
41
|
-
next = 'http://api.example.org/accounts/?offset=400&limit=100',
|
42
|
-
previous = 'http://api.example.org/accounts/?offset=200&limit=100',
|
43
|
-
results = [
|
44
|
-
pulpcore.client.pulp_rpm.models.rpm/repo_metadata_file_response.rpm.RepoMetadataFileResponse(
|
45
|
-
pulp_href = '0',
|
46
|
-
pulp_created = datetime.datetime.strptime('2013-10-20 19:20:30.00', '%Y-%m-%d %H:%M:%S.%f'),
|
47
|
-
md5 = '0',
|
48
|
-
sha1 = '0',
|
49
|
-
sha224 = '0',
|
50
|
-
sha256 = '0',
|
51
|
-
sha384 = '0',
|
52
|
-
sha512 = '0',
|
53
|
-
artifact = '0',
|
54
|
-
relative_path = '0',
|
55
|
-
data_type = '0',
|
56
|
-
checksum_type = '0',
|
57
|
-
checksum = '0', )
|
58
|
-
]
|
59
|
-
)
|
60
|
-
else :
|
61
|
-
return PaginatedrpmRepoMetadataFileResponseList(
|
62
|
-
)
|
63
|
-
|
64
|
-
def testPaginatedrpmRepoMetadataFileResponseList(self):
|
65
|
-
"""Test PaginatedrpmRepoMetadataFileResponseList"""
|
66
|
-
inst_req_only = self.make_instance(include_optional=False)
|
67
|
-
inst_req_and_optional = self.make_instance(include_optional=True)
|
68
|
-
|
69
|
-
|
70
|
-
if __name__ == '__main__':
|
71
|
-
unittest.main()
|