=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.2.3 =end require 'spec_helper' require 'json' # Unit tests for PulpPythonClient::PypiLegacyApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PypiLegacyApi' do before do # run before each test @api_instance = PulpPythonClient::PypiLegacyApi.new end after do # run after each test end describe 'test an instance of PypiLegacyApi' do it 'should create an instance of PypiLegacyApi' do expect(@api_instance).to be_instance_of(PulpPythonClient::PypiLegacyApi) end end # unit tests for create # Upload a package # Upload package to the index. This is the endpoint that tools like Twine and Poetry use for their upload commands. # @param path # @param content A Python package release file to upload to the index. # @param sha256_digest SHA256 of package to validate upload integrity. # @param [Hash] opts the optional parameters # @option opts [String] :action Defaults to `file_upload`, don't change it or request will fail! # @return [PackageUploadTaskResponse] describe 'create test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end