=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::PulpAnsibleArtifactsCollectionsV3Api # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PulpAnsibleArtifactsCollectionsV3Api' do before do # run before each test @api_instance = PulpAnsibleClient::PulpAnsibleArtifactsCollectionsV3Api.new end after do # run after each test end describe 'test an instance of PulpAnsibleArtifactsCollectionsV3Api' do it 'should create an instance of PulpAnsibleArtifactsCollectionsV3Api' do expect(@api_instance).to be_instance_of(PulpAnsibleClient::PulpAnsibleArtifactsCollectionsV3Api) 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 create_0 # Upload a collection # Create an artifact and trigger an asynchronous task to create Collection content from it. # @param distro_base_path # @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_0 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 create_1 # 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 'create_1 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 create_2 # Upload a collection # Create an artifact and trigger an asynchronous task to create Collection content from it. # @param distro_base_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_2 test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end