=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 PulpPythonClient::PypiSimpleApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PypiSimpleApi' do before do # run before each test @api_instance = PulpPythonClient::PypiSimpleApi.new end after do # run after each test end describe 'test an instance of PypiSimpleApi' do it 'should create an instance of PypiSimpleApi' do expect(@api_instance).to be_instance_of(PulpPythonClient::PypiSimpleApi) end end # unit tests for create # Upload a package # Upload package to the index. This endpoint has the same functionality as the upload endpoint at the `/legacy` url of the index. This is provided for convenience for users who want a single index url for all their Python tools. (pip, twine, poetry, pipenv, ...) # @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 # unit tests for read # Get index simple page # Gets the simple api html page for the index. # @param path # @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 [nil] describe '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 read_0 # Get package simple page # Retrieves the simple api html page for a package. # @param package # @param path # @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 [nil] describe 'read_0 test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end