=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::UsersApi # Automatically generated by openapi-generator (https://openapi-generator.tech) # Please update as you see appropriate describe 'UsersApi' do before do # run before each test @api_instance = PulpcoreClient::UsersApi.new end after do # run after each test end describe 'test an instance of UsersApi' do it 'should create an instance of UsersApi' do expect(@api_instance).to be_instance_of(PulpcoreClient::UsersApi) end end # unit tests for users_create # Create an user # ViewSet for User. # @param user # @param [Hash] opts the optional parameters # @return [UserResponse] describe 'users_create 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 users_delete # Delete an user # ViewSet for User. # @param auth_user_href # @param [Hash] opts the optional parameters # @return [nil] describe 'users_delete 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 users_list # List users # ViewSet for User. # @param [Hash] opts the optional parameters # @option opts [String] :email Filter results where email matches value # @option opts [String] :email__contains Filter results where email contains value # @option opts [String] :email__icontains Filter results where email contains value # @option opts [String] :email__iexact Filter results where email matches value # @option opts [Array] :email__in Filter results where email is in a comma-separated list of values # @option opts [String] :first_name Filter results where first_name matches value # @option opts [String] :first_name__contains Filter results where first_name contains value # @option opts [String] :first_name__icontains Filter results where first_name contains value # @option opts [String] :first_name__iexact Filter results where first_name matches value # @option opts [Array] :first_name__in Filter results where first_name is in a comma-separated list of values # @option opts [Boolean] :is_active Filter results where is_active matches value # @option opts [Boolean] :is_staff Filter results where is_staff matches value # @option opts [String] :last_name Filter results where last_name matches value # @option opts [String] :last_name__contains Filter results where last_name contains value # @option opts [String] :last_name__icontains Filter results where last_name contains value # @option opts [String] :last_name__iexact Filter results where last_name matches value # @option opts [Array] :last_name__in Filter results where last_name is in a comma-separated list of values # @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 [Array] :ordering Ordering * `id` - Id * `-id` - Id (descending) * `password` - Password * `-password` - Password (descending) * `last_login` - Last login * `-last_login` - Last login (descending) * `is_superuser` - Is superuser * `-is_superuser` - Is superuser (descending) * `username` - Username * `-username` - Username (descending) * `first_name` - First name * `-first_name` - First name (descending) * `last_name` - Last name * `-last_name` - Last name (descending) * `email` - Email * `-email` - Email (descending) * `is_staff` - Is staff * `-is_staff` - Is staff (descending) * `is_active` - Is active * `-is_active` - Is active (descending) * `date_joined` - Date joined * `-date_joined` - Date joined (descending) * `pk` - Pk * `-pk` - Pk (descending) # @option opts [Array] :pulp_href__in Multiple values may be separated by commas. # @option opts [Array] :pulp_id__in Multiple values may be separated by commas. # @option opts [String] :username Filter results where username matches value # @option opts [String] :username__contains Filter results where username contains value # @option opts [String] :username__icontains Filter results where username contains value # @option opts [String] :username__iexact Filter results where username matches value # @option opts [Array] :username__in Filter results where username is in a comma-separated list of values # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [PaginatedUserResponseList] describe 'users_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 users_partial_update # Update an user # ViewSet for User. # @param auth_user_href # @param patched_user # @param [Hash] opts the optional parameters # @return [UserResponse] describe 'users_partial_update 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 users_read # Inspect an user # ViewSet for User. # @param auth_user_href # @param [Hash] opts the optional parameters # @option opts [Array] :fields A list of fields to include in the response. # @option opts [Array] :exclude_fields A list of fields to exclude from the response. # @return [UserResponse] describe 'users_read 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 users_update # Update an user # ViewSet for User. # @param auth_user_href # @param user # @param [Hash] opts the optional parameters # @return [UserResponse] describe 'users_update test' do it 'should work' do # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers end end end