=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.2 =end require 'spec_helper' require 'json' # Unit tests for PulpRpmClient::ContentModulemdsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ContentModulemdsApi' do before do # run before each test @api_instance = PulpRpmClient::ContentModulemdsApi.new end after do # run after each test end describe 'test an instance of ContentModulemdsApi' do it 'should create an instance of ContentModulemdsApi' do expect(@api_instance).to be_instance_of(PulpRpmClient::ContentModulemdsApi) end end # unit tests for create # Create a modulemd # Trigger an asynchronous task to create content,optionally create new repository version. # @param relative_path Path where the artifact is located relative to distributions base_path # @param name Modulemd name. # @param stream Stream name. # @param version Modulemd version. # @param context Modulemd context. # @param arch Modulemd architecture. # @param artifacts Modulemd artifacts. # @param dependencies Modulemd dependencies. # @param [Hash] opts the optional parameters # @option opts [String] :artifact Artifact file representing the physical content # @option opts [File] :file An uploaded file that should be turned into the artifact of the content unit. # @option opts [String] :repository A URI of a repository the new content unit should be associated with. # @option opts [Array] :packages Modulemd artifacts' packages. # @return [AsyncOperationResponse] 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 list # List modulemds # ViewSet for Modulemd. # @param [Hash] opts the optional parameters # @option opts [String] :name Filter results where name matches value # @option opts [String] :name__in Filter results where name is in a comma-separated list of values # @option opts [String] :stream Filter results where stream matches value # @option opts [String] :stream__in Filter results where stream is in a comma-separated list of values # @option opts [String] :repository_version Repository Version referenced by HREF # @option opts [String] :repository_version_added Repository Version referenced by HREF # @option opts [String] :repository_version_removed Repository Version referenced by HREF # @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 [InlineResponse2003] 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 modulemd # ViewSet for Modulemd. # @param modulemd_href URI of Modulemd. e.g.: /pulp/api/v3/content/rpm/modulemds/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 [RpmModulemd] 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