=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 PulpAnsibleClient::AnsibleCollectionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'AnsibleCollectionsApi' do before do # run before each test @api_instance = PulpAnsibleClient::AnsibleCollectionsApi.new end after do # run after each test end describe 'test an instance of AnsibleCollectionsApi' do it 'should create an instance of AnsibleCollectionsApi' do expect(@api_instance).to be_instance_of(PulpAnsibleClient::AnsibleCollectionsApi) end end # unit tests for list # List collections # Viewset for Ansible Collections. # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name # @option opts [String] :namespace # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [Array] :ordering Ordering # @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 [PaginatedansibleCollectionResponseList] 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 upload_collection # Upload a collection # Create an artifact and trigger an asynchronous task to create Collection content from it. # @param file The Collection tarball. # @param [Hash] opts the optional parameters # @option opts [String] :sha256 An optional sha256 checksum of the uploaded file. # @option opts [String] :expected_namespace The expected 'namespace' of the Collection to be verified against the metadata during import. # @option opts [String] :expected_name The expected 'name' of the Collection to be verified against the metadata during import. # @option opts [String] :expected_version The expected version of the Collection to be verified against the metadata during import. # @return [AsyncOperationResponse] describe 'upload_collection test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end