=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 PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PulpAnsibleGalaxyApiV3CollectionsApi' do before do # run before each test @api_instance = PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi.new end after do # run after each test end describe 'test an instance of PulpAnsibleGalaxyApiV3CollectionsApi' do it 'should create an instance of PulpAnsibleGalaxyApiV3CollectionsApi' do expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleGalaxyApiV3CollectionsApi) end end # unit tests for create # Upload a collection # Create an artifact and trigger an asynchronous task to create Collection content from it. # @param path # @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 '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 read # Inspect a collection import # Returns a CollectionImport object. # @param collection_import_href URI of Collection Import. e.g.: /pulp_ansible/galaxy/1/api/v3/imports/collections/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. # @option opts [DateTime] :since Filter messages since a given timestamp # @return [CollectionImportDetail] 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