=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.0.1-SNAPSHOT =end require 'spec_helper' require 'json' # Unit tests for PulpcoreClient::UploadsApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'UploadsApi' do before do # run before each test @api_instance = PulpcoreClient::UploadsApi.new end after do # run after each test end describe 'test an instance of UploadsApi' do it 'should create an instance of UploadsApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::UploadsApi) end end # unit tests for uploads_create # Start Upload # Start a chunked upload by uploading the first chunk. # @param file A chunk of a file to upload. # @param [Hash] opts the optional parameters # @return [Upload] describe 'uploads_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 uploads_create_and_check # Create an Upload # Create an upload from a entire file as one chunk. # @param file The full file to upload. # @param md5 The expected MD5 checksum of the file. # @param [Hash] opts the optional parameters # @return [Upload] describe 'uploads_create_and_check 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 uploads_delete # Delete an upload # View for chunked uploads. # @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/ # @param [Hash] opts the optional parameters # @return [nil] describe 'uploads_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 uploads_finish # Finish an Upload # Mark the Upload as \"complete\". The md5 checksum is used to validate the integrity of the upload. # @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/ # @param md5 The expected MD5 checksum of the file. # @param [Hash] opts the optional parameters # @return [Upload] describe 'uploads_finish 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 uploads_list # List uploads # List all the uploads. # @param [Hash] opts the optional parameters # @option opts [Integer] :page A page number within the paginated result set. # @option opts [Integer] :page_size Number of results to return per page. # @return [InlineResponse2004] describe 'uploads_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 uploads_read # Inspect an upload # View for chunked uploads. # @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/ # @param [Hash] opts the optional parameters # @return [Upload] describe 'uploads_read 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 uploads_update # Continue an Upload # Continue the upload by uploading the next file chunk. # @param upload_href URI of Upload. e.g.: /pulp/api/v3/uploads/1/ # @param file A chunk of a file to upload. # @param [Hash] opts the optional parameters # @return [Upload] describe 'uploads_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end