=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.2.3 =end require 'spec_helper' require 'json' # Unit tests for Pulp2to3MigrationClient::Pulp2RepositoriesApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'Pulp2RepositoriesApi' do before do # run before each test @api_instance = Pulp2to3MigrationClient::Pulp2RepositoriesApi.new end after do # run after each test end describe 'test an instance of Pulp2RepositoriesApi' do it 'should create an instance of Pulp2RepositoriesApi' do expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2RepositoriesApi) end end # unit tests for list # List pulp2 repositorys # ViewSet for Pulp2Repositories model. # @param [Hash] opts the optional parameters # @option opts [Boolean] :is_migrated # @option opts [Integer] :limit Number of results to return per page. # @option opts [Boolean] :not_in_plan # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [String] :ordering Which field to use when ordering the results. # @option opts [String] :pulp2_repo_id # @option opts [Array] :pulp2_repo_id__in Filter results where pulp2_repo_id is in a comma-separated list of values # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [Paginatedpulp2to3MigrationPulp2RepositoryResponseList] 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 read # Inspect a pulp2 repository # ViewSet for Pulp2Repositories model. # @param pulp_2to3_migration_pulp2_repository_href # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @option opts [String] :exclude_fields A list of fields to exclude from the response. # @return [Pulp2to3MigrationPulp2RepositoryResponse] describe 'read test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end