Sha256: a3ecb3c91f98392269a67884b30b87fac86dae1d381f61737a80f75e6644dda3

Contents?: true

Size: 1.48 KB

Versions: 23

Compression:

Stored size: 1.48 KB

Contents

=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::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

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
pulp_python_client-3.12.5 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.12.4 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.12.3 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.12.2 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.11.3 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.12.1 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.11.2 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.12.0 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.11.1 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.11.0 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.10.0 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.9.0 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.8.0 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.7.3 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.6.1 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.7.2 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.7.1 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.7.0 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.6.0 spec/api/pypi_legacy_api_spec.rb
pulp_python_client-3.5.2 spec/api/pypi_legacy_api_spec.rb