=begin #Pulp 3 API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.2.3 =end require 'spec_helper' require 'json' # Unit tests for Pulp2to3MigrationClient::Pulp2contentApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'Pulp2contentApi' do before do # run before each test @api_instance = Pulp2to3MigrationClient::Pulp2contentApi.new end after do # run after each test end describe 'test an instance of Pulp2contentApi' do it 'should create an instance of Pulp2contentApi' do expect(@api_instance).to be_instance_of(Pulp2to3MigrationClient::Pulp2contentApi) end end # unit tests for list # List pulp2 contents # ViewSet for Pulp2Content model. # @param [Hash] opts the optional parameters # @option opts [String] :ordering Which field to use when ordering the results. # @option opts [String] :pulp2_id # @option opts [String] :pulp2_id__in Filter results where pulp2_id is in a comma-separated list of values # @option opts [String] :pulp2_content_type_id # @option opts [String] :pulp2_content_type_id__in Filter results where pulp2_content_type_id is in a comma-separated list of values # @option opts [Float] :pulp2_last_updated__lt Filter results where pulp2_last_updated is less than value # @option opts [Float] :pulp2_last_updated__lte Filter results where pulp2_last_updated is less than or equal to value # @option opts [Float] :pulp2_last_updated__gt Filter results where pulp2_last_updated is greater than value # @option opts [Float] :pulp2_last_updated__gte Filter results where pulp2_last_updated is greater than or equal to value # @option opts [Float] :pulp2_last_updated__range Filter results where pulp2_last_updated is between two comma separated values # @option opts [String] :pulp3_content Foreign Key referenced by HREF # @option opts [String] :pulp2_last_updated ISO 8601 formatted dates are supported # @option opts [Integer] :limit Number of results to return per page. # @option opts [Integer] :offset The initial index from which to return the results. # @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 [InlineResponse2001] 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 content # ViewSet for Pulp2Content model. # @param pulp2_content_href URI of Pulp2 Content. e.g.: /pulp/api/v3/pulp2content/1/ # @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 [Pulp2to3MigrationPulp2ContentRead] 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