Sha256: cd5d771b657a53a239fc7d3d34c7c38ea3d052c4e3b3f66f1c32366a2b561253

Contents?: true

Size: 1.48 KB

Versions: 1

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.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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pulp_python_client-3.4.0 spec/api/pypi_legacy_api_spec.rb