=begin #Pulp 3 API #Fetch, Upload, Organize, and Distribute Software Packages The version of the OpenAPI document: v3 Contact: pulp-list@redhat.com Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.3.1 =end require 'spec_helper' require 'json' # Unit tests for PulpRpmClient::RepositoriesRpmApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'RepositoriesRpmApi' do before do # run before each test @api_instance = PulpRpmClient::RepositoriesRpmApi.new end after do # run after each test end describe 'test an instance of RepositoriesRpmApi' do it 'should create an instance of RepositoriesRpmApi' do expect(@api_instance).to be_instance_of(PulpRpmClient::RepositoriesRpmApi) end end # unit tests for create # Create a rpm repository # A ViewSet for RpmRepository. # @param rpm_rpm_repository # @param [Hash] opts the optional parameters # @return [RpmRpmRepositoryResponse] describe 'create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for delete # Delete a rpm repository # Trigger an asynchronous delete task # @param rpm_rpm_repository_href # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'delete test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for list # List rpm repositorys # A ViewSet for RpmRepository. # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name # @option opts [String] :name__contains Filter results where name contains value # @option opts [String] :name__icontains Filter results where name contains value # @option opts [Array] :name__in Filter results where name is in a comma-separated list of values # @option opts [String] :name__startswith Filter results where name starts with value # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [Array] :ordering Ordering # @option opts [String] :pulp_label_select Filter labels by search string # @option opts [String] :remote Foreign Key referenced by HREF # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [PaginatedrpmRpmRepositoryResponseList] describe 'list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for modify # Modify Repository Content # Trigger an asynchronous task to create a new repository version. # @param rpm_rpm_repository_href # @param repository_add_remove_content # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'modify test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for partial_update # Update a rpm repository # Trigger an asynchronous partial update task # @param rpm_rpm_repository_href # @param patchedrpm_rpm_repository # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'partial_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for read # Inspect a rpm repository # A ViewSet for RpmRepository. # @param rpm_rpm_repository_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [RpmRpmRepositoryResponse] describe 'read test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for sync # Sync from remote # Trigger an asynchronous task to sync RPM content. # @param rpm_rpm_repository_href # @param rpm_repository_sync_url # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'sync test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for update # Update a rpm repository # Trigger an asynchronous update task # @param rpm_rpm_repository_href # @param rpm_rpm_repository # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end