=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.1-SNAPSHOT =end require 'spec_helper' require 'json' # Unit tests for PulpcoreClient::ArtifactsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'ArtifactsApi' do before do # run before each test @api_instance = PulpcoreClient::ArtifactsApi.new end after do # run after each test end describe 'test an instance of ArtifactsApi' do it 'should create an instance of ArtifactsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::ArtifactsApi) end end # unit tests for create # Create an artifact # @param file The stored file. # @param [Hash] opts the optional parameters # @option opts [Integer] :size The size of the file in bytes. # @option opts [String] :md5 The MD5 checksum of the file if available. # @option opts [String] :sha1 The SHA-1 checksum of the file if available. # @option opts [String] :sha224 The SHA-224 checksum of the file if available. # @option opts [String] :sha256 The SHA-256 checksum of the file if available. # @option opts [String] :sha384 The SHA-384 checksum of the file if available. # @option opts [String] :sha512 The SHA-512 checksum of the file if available. # @return [Artifact] 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 delete # Delete an artifact # Remove Artifact only if it is not associated with any Content. # @param artifact_href URI of Artifact. e.g.: /pulp/api/v3/artifacts/1/ # @param [Hash] opts the optional parameters # @return [nil] describe 'delete 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 artifacts # @param [Hash] opts the optional parameters # @option opts [String] :repository_version Repository Version referenced by HREF # @option opts [String] :md5 Filter results where md5 matches value # @option opts [String] :sha1 Filter results where sha1 matches value # @option opts [String] :sha224 Filter results where sha224 matches value # @option opts [String] :sha256 Filter results where sha256 matches value # @option opts [String] :sha384 Filter results where sha384 matches value # @option opts [String] :sha512 Filter results where sha512 matches value # @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 [InlineResponse200] 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 an artifact # @param artifact_href URI of Artifact. e.g.: /pulp/api/v3/artifacts/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 [Artifact] 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