Sha256: fd2b60a922dd329e6de5245d5d2fbc80495c163ac51ae73b626a2b136e9a737e

Contents?: true

Size: 1.6 KB

Versions: 2

Compression:

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

  after do
    # run after each test
  end

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

  # unit tests for pulp_import_check_post
  # Validate the parameters to be used for a PulpImport call
  # Evaluates validity of proposed PulpImport parameters 'toc', 'path', and 'repo_mapping'.  * Checks that toc, path are in ALLOWED_IMPORT_PATHS * if ALLOWED:   * Checks that toc, path exist and are readable   * If toc specified, checks that containing dir is writeable * Checks that repo_mapping is valid JSON
  # @param pulp_import_check 
  # @param [Hash] opts the optional parameters
  # @return [PulpImportCheckResponse]
  describe 'pulp_import_check_post 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

2 entries across 2 versions & 1 rubygems

Version Path
pulp_file_client-3.55.2 spec/api/importers_pulp_import_check_api_spec.rb
pulp_file_client-3.49.14 spec/api/importers_pulp_import_check_api_spec.rb