=begin #Pulp 3 API #No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) The version of the OpenAPI document: v3 Generated by: https://openapi-generator.tech OpenAPI Generator version: 4.1.2 =end require 'spec_helper' require 'json' # Unit tests for PulpcoreClient::WorkersApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'WorkersApi' do before do # run before each test @api_instance = PulpcoreClient::WorkersApi.new end after do # run after each test end describe 'test an instance of WorkersApi' do it 'should create an instance of WorkersApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::WorkersApi) end end # unit tests for list # List workers # @param [Hash] opts the optional parameters # @option opts [String] :name # @option opts [String] :name__in Filter results where name is in a comma-separated list of values # @option opts [String] :last_heartbeat__lt Filter results where last_heartbeat is less than value # @option opts [String] :last_heartbeat__lte Filter results where last_heartbeat is less than or equal to value # @option opts [String] :last_heartbeat__gt Filter results where last_heartbeat is greater than value # @option opts [String] :last_heartbeat__gte Filter results where last_heartbeat is greater than or equal to value # @option opts [String] :last_heartbeat__range Filter results where last_heartbeat is between two comma separated values # @option opts [String] :online # @option opts [String] :missing # @option opts [String] :last_heartbeat ISO 8601 formatted dates are supported # @option opts [Integer] :limit Number of results to return per page. # @option opts [Integer] :offset The initial index from which to return the results. # @option opts [String] :fields A list of fields to include in the response. # @return [InlineResponse2005] describe 'list test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end # unit tests for read # Inspect a worker # @param worker_href URI of Worker. e.g.: /pulp/api/v3/workers/1/ # @param [Hash] opts the optional parameters # @option opts [String] :fields A list of fields to include in the response. # @return [Worker] 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