Sha256: 0df6c02827338e4b9458122ef0acf308cc054818595b6d284e313ab41f7224ab

Contents?: true

Size: 1.53 KB

Versions: 1

Compression:

Stored size: 1.53 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::PypiMetadataApi
# Automatically generated by openapi-generator (https://openapi-generator.tech)
# Please update as you see appropriate
describe 'PypiMetadataApi' do
  before do
    # run before each test
    @api_instance = PulpPythonClient::PypiMetadataApi.new
  end

  after do
    # run after each test
  end

  describe 'test an instance of PypiMetadataApi' do
    it 'should create an instance of PypiMetadataApi' do
      expect(@api_instance).to be_instance_of(PulpPythonClient::PypiMetadataApi)
    end
  end

  # unit tests for read
  # Get package metadata
  # Retrieves the package's core-metadata specified by https://packaging.python.org/specifications/core-metadata/. `meta` must be a path in form of `{package}/json/` or `{package}/{version}/json/`
  # @param meta 
  # @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 [PackageMetadataResponse]
  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

Version data entries

1 entries across 1 versions & 1 rubygems

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