=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::PublicationsPypiApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'PublicationsPypiApi' do before do # run before each test @api_instance = PulpPythonClient::PublicationsPypiApi.new end after do # run after each test end describe 'test an instance of PublicationsPypiApi' do it 'should create an instance of PublicationsPypiApi' do expect(@api_instance).to be_instance_of(PulpPythonClient::PublicationsPypiApi) end end # unit tests for create # Create a python publication # Dispatches a publish task, which generates metadata that will be used by pip. # @param python_python_publication # @param [Hash] opts the optional parameters # @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 delete # Delete a python publication # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. # @param python_python_publication_href # @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 python publications # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. # @param [Hash] opts the optional parameters # @option opts [String] :content Content Unit referenced by HREF # @option opts [String] :content__in Content Unit referenced by HREF # @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 [Array] :ordering Ordering # @option opts [DateTime] :pulp_created ISO 8601 formatted dates are supported # @option opts [DateTime] :pulp_created__gt Filter results where pulp_created is greater than value # @option opts [DateTime] :pulp_created__gte Filter results where pulp_created is greater than or equal to value # @option opts [DateTime] :pulp_created__lt Filter results where pulp_created is less than value # @option opts [DateTime] :pulp_created__lte Filter results where pulp_created is less than or equal to value # @option opts [Array] :pulp_created__range Filter results where pulp_created is between two comma separated values # @option opts [String] :repository Repository referenced by HREF # @option opts [String] :repository_version Repository Version referenced by HREF # @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 [PaginatedpythonPythonPublicationResponseList] 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 a python publication # Python Publications refer to the Python Package content in a repository version, and include metadata about that content. # @param python_python_publication_href # @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 [PythonPythonPublicationResponse] 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