=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::RemotesPythonApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'RemotesPythonApi' do before do # run before each test @api_instance = PulpPythonClient::RemotesPythonApi.new end after do # run after each test end describe 'test an instance of RemotesPythonApi' do it 'should create an instance of RemotesPythonApi' do expect(@api_instance).to be_instance_of(PulpPythonClient::RemotesPythonApi) end end # unit tests for create # Create a python remote # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings. # @param python_python_remote # @param [Hash] opts the optional parameters # @return [PythonPythonRemoteResponse] 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 remote # Trigger an asynchronous delete task # @param python_python_remote_href # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] 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 from_bandersnatch # Create from Bandersnatch # Takes the fields specified in the Bandersnatch config and creates a Python Remote from it. # @param config A Bandersnatch config that may be used to construct a Python Remote. # @param name A unique name for this remote # @param [Hash] opts the optional parameters # @option opts [PolicyEnum] :policy The policy to use when downloading content. The possible values include: 'immediate', 'on_demand', and 'streamed'. 'on_demand' is the default. # @return [PythonPythonRemoteResponse] describe 'from_bandersnatch 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 remotes # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings. # @param [Hash] opts the optional parameters # @option opts [Integer] :limit Number of results to return per page. # @option opts [String] :name # @option opts [String] :name__contains Filter results where name contains value # @option opts [String] :name__icontains Filter results where name contains value # @option opts [Array] :name__in Filter results where name is in a comma-separated list of values # @option opts [String] :name__startswith Filter results where name starts with value # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [Array] :ordering Ordering # @option opts [String] :pulp_label_select Filter labels by search string # @option opts [DateTime] :pulp_last_updated ISO 8601 formatted dates are supported # @option opts [DateTime] :pulp_last_updated__gt Filter results where pulp_last_updated is greater than value # @option opts [DateTime] :pulp_last_updated__gte Filter results where pulp_last_updated is greater than or equal to value # @option opts [DateTime] :pulp_last_updated__lt Filter results where pulp_last_updated is less than value # @option opts [DateTime] :pulp_last_updated__lte Filter results where pulp_last_updated is less than or equal to value # @option opts [Array] :pulp_last_updated__range Filter results where pulp_last_updated is between two comma separated values # @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 [PaginatedpythonPythonRemoteResponseList] 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 partial_update # Update a python remote # Trigger an asynchronous partial update task # @param python_python_remote_href # @param patchedpython_python_remote # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'partial_update 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 remote # Python Remotes are representations of an external repository of Python content, eg. PyPI. Fields include upstream repository config. Python Remotes are also used to `sync` from upstream repositories, and contains sync settings. # @param python_python_remote_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 [PythonPythonRemoteResponse] 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 update # Update a python remote # Trigger an asynchronous update task # @param python_python_remote_href # @param python_python_remote # @param [Hash] opts the optional parameters # @return [AsyncOperationResponse] describe 'update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end