Pulp 2 Tests
latest
  • Installation
  • Configuration
  • Contributing
  • Usage
  • Tests
    • pulp_2_tests
    • pulp_2_tests.constants
    • pulp_2_tests.tests
    • pulp_2_tests.tests.docker
    • pulp_2_tests.tests.docker.api_v2
    • pulp_2_tests.tests.docker.api_v2.test_copy
    • pulp_2_tests.tests.docker.api_v2.test_crud
    • pulp_2_tests.tests.docker.api_v2.test_duplicate_uploads
    • pulp_2_tests.tests.docker.api_v2.test_remove
    • pulp_2_tests.tests.docker.api_v2.test_sync
    • pulp_2_tests.tests.docker.api_v2.test_sync_publish
    • pulp_2_tests.tests.docker.api_v2.test_tags
    • pulp_2_tests.tests.docker.api_v2.test_upload
    • pulp_2_tests.tests.docker.api_v2.utils
    • pulp_2_tests.tests.docker.cli
    • pulp_2_tests.tests.docker.cli.test_crud
    • pulp_2_tests.tests.docker.cli.test_sync_publish
    • pulp_2_tests.tests.docker.cli.utils
    • pulp_2_tests.tests.docker.utils
    • pulp_2_tests.tests.ostree
    • pulp_2_tests.tests.ostree.api_v2
    • pulp_2_tests.tests.ostree.api_v2.test_copy
    • pulp_2_tests.tests.ostree.api_v2.test_crud
    • pulp_2_tests.tests.ostree.api_v2.test_publish
    • pulp_2_tests.tests.ostree.api_v2.test_sync
    • pulp_2_tests.tests.ostree.utils
    • pulp_2_tests.tests.platform
    • pulp_2_tests.tests.platform.api_v2
    • pulp_2_tests.tests.platform.api_v2.test_consumer
    • pulp_2_tests.tests.platform.api_v2.test_content_applicability
    • pulp_2_tests.tests.platform.api_v2.test_login
    • pulp_2_tests.tests.platform.api_v2.test_repository
    • pulp_2_tests.tests.platform.api_v2.test_search
    • pulp_2_tests.tests.platform.api_v2.test_user
    • pulp_2_tests.tests.platform.api_v2.utils
    • pulp_2_tests.tests.platform.cli
    • pulp_2_tests.tests.platform.cli.test_pulp_manage_db
    • pulp_2_tests.tests.platform.cli.test_selinux
    • pulp_2_tests.tests.platform.utils
    • pulp_2_tests.tests.puppet
    • pulp_2_tests.tests.puppet.api_v2
    • pulp_2_tests.tests.puppet.api_v2.test_crud
    • pulp_2_tests.tests.puppet.api_v2.test_duplicate_uploads
    • pulp_2_tests.tests.puppet.api_v2.test_install_distributor
    • pulp_2_tests.tests.puppet.api_v2.test_sync_publish
    • pulp_2_tests.tests.puppet.api_v2.utils
    • pulp_2_tests.tests.puppet.cli
    • pulp_2_tests.tests.puppet.cli.test_sync
    • pulp_2_tests.tests.puppet.utils
    • pulp_2_tests.tests.python
    • pulp_2_tests.tests.python.api_v2
    • pulp_2_tests.tests.python.api_v2.test_crud
    • pulp_2_tests.tests.python.api_v2.test_duplicate_uploads
    • pulp_2_tests.tests.python.api_v2.test_sync_publish
    • pulp_2_tests.tests.python.api_v2.utils
    • pulp_2_tests.tests.python.utils
    • pulp_2_tests.tests.rpm
    • pulp_2_tests.tests.rpm.api_v2
    • pulp_2_tests.tests.rpm.api_v2.test_broker
    • pulp_2_tests.tests.rpm.api_v2.test_character_encoding
    • pulp_2_tests.tests.rpm.api_v2.test_comps_xml
    • pulp_2_tests.tests.rpm.api_v2.test_content_applicability
    • pulp_2_tests.tests.rpm.api_v2.test_content_sources
    • pulp_2_tests.tests.rpm.api_v2.test_copy
    • pulp_2_tests.tests.rpm.api_v2.test_crud
    • pulp_2_tests.tests.rpm.api_v2.test_download_policies
    • pulp_2_tests.tests.rpm.api_v2.test_duplicate_uploads
    • pulp_2_tests.tests.rpm.api_v2.test_errata
    • pulp_2_tests.tests.rpm.api_v2.test_export
    • pulp_2_tests.tests.rpm.api_v2.test_force_full
    • pulp_2_tests.tests.rpm.api_v2.test_iso_crud
    • pulp_2_tests.tests.rpm.api_v2.test_iso_sync_publish
    • pulp_2_tests.tests.rpm.api_v2.test_mirrorlist
    • pulp_2_tests.tests.rpm.api_v2.test_modularity
    • pulp_2_tests.tests.rpm.api_v2.test_no_op_publish
    • pulp_2_tests.tests.rpm.api_v2.test_orphan_remove
    • pulp_2_tests.tests.rpm.api_v2.test_package_paths
    • pulp_2_tests.tests.rpm.api_v2.test_remove_unit
    • pulp_2_tests.tests.rpm.api_v2.test_repomd
    • pulp_2_tests.tests.rpm.api_v2.test_repository_layout
    • pulp_2_tests.tests.rpm.api_v2.test_repoview
    • pulp_2_tests.tests.rpm.api_v2.test_republish
    • pulp_2_tests.tests.rpm.api_v2.test_retain_old_count
    • pulp_2_tests.tests.rpm.api_v2.test_rich_weak_dependencies
    • pulp_2_tests.tests.rpm.api_v2.test_rsync_distributor
    • pulp_2_tests.tests.rpm.api_v2.test_schedule_publish
    • pulp_2_tests.tests.rpm.api_v2.test_schedule_sync
    • pulp_2_tests.tests.rpm.api_v2.test_search
    • pulp_2_tests.tests.rpm.api_v2.test_service_resiliency
    • pulp_2_tests.tests.rpm.api_v2.test_signatures_checked_for_copies
    • pulp_2_tests.tests.rpm.api_v2.test_signatures_checked_for_syncs
    • pulp_2_tests.tests.rpm.api_v2.test_signatures_checked_for_uploads
    • pulp_2_tests.tests.rpm.api_v2.test_signatures_saved_for_packages
    • pulp_2_tests.tests.rpm.api_v2.test_sync_publish
    • pulp_2_tests.tests.rpm.api_v2.test_tasks
    • pulp_2_tests.tests.rpm.api_v2.test_unassociate
    • pulp_2_tests.tests.rpm.api_v2.test_unavailable_checksum
    • pulp_2_tests.tests.rpm.api_v2.test_updateinfo
    • pulp_2_tests.tests.rpm.api_v2.test_upload_publish
    • pulp_2_tests.tests.rpm.api_v2.utils
    • pulp_2_tests.tests.rpm.cli
    • pulp_2_tests.tests.rpm.cli.test_character_encoding
    • pulp_2_tests.tests.rpm.cli.test_copy_units
    • pulp_2_tests.tests.rpm.cli.test_environments
    • pulp_2_tests.tests.rpm.cli.test_langpacks
    • pulp_2_tests.tests.rpm.cli.test_process_recycling
    • pulp_2_tests.tests.rpm.cli.test_retain_old_count
    • pulp_2_tests.tests.rpm.cli.test_search
    • pulp_2_tests.tests.rpm.cli.test_sync
    • pulp_2_tests.tests.rpm.cli.test_upload
    • pulp_2_tests.tests.rpm.cli.utils
    • pulp_2_tests.tests.rpm.utils
Pulp 2 Tests
  • Docs »
  • Tests »
  • pulp_2_tests.tests.rpm.cli.test_search
  • Edit on GitHub

pulp_2_tests.tests.rpm.cli.test_search¶

Location: Pulp 2 Tests → Tests → pulp_2_tests.tests.rpm.cli.test_search

Tests that perform searches.

class pulp_2_tests.tests.rpm.cli.test_search.SearchReposWithFiltersTestCase(methodName='runTest')¶

Bases: unittest.case.TestCase

Search for repositories, and use filters to limit matches.

This test case targets Pulp #1784 and Pulp Smash #184. The repository search documentation describes the CLI search syntax.

static gen_commands(repo_id)¶

Generate the commands used by the test methods.

Commands with the following filters are returned:

--filters {'id':'…'}
--filters {'repo_id':'…'}
--str-eq id=…
--str-eq repo_id=…
classmethod setUpClass()¶

Create a repository.

classmethod tearDownClass()¶

Delete the repository created by setUpClass().

test_negative_searches()¶

Search for the repository with a non-matching repository ID.

test_positive_searches()¶

Search for the repository with a matching repository ID.

Next Previous

© Copyright 2018, Pulp QE Revision 8b72b80a.

Built with Sphinx using a theme provided by Read the Docs.