Sha256: 2a184c320c86f89eb7585e2920ec9e327257056d24f272ffffe9403548ca9240

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

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

  after do
    # run after each test
  end

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

  # unit tests for contentguards_list
  # List content guards
  # Endpoint to list all contentguards.
  # @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<String>] :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<String>] :ordering Ordering
  # @option opts [Array<String>] :fields A list of fields to include in the response.
  # @option opts [Array<String>] :exclude_fields A list of fields to exclude from the response.
  # @return [PaginatedContentGuardResponseList]
  describe 'contentguards_list 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
pulpcore_client-3.21.32 spec/api/contentguards_api_spec.rb