---
# System prepended metadata

title: pulpcore tests @ commit fb1b41cc1b12

---

# pulpcore tests @ commit fb1b41cc1b12

```
<Package api>
  <Module test_access_policy.py>
    <UnitTestCase AccessPolicyTestCase>
      <TestCaseFunction test_access_policy_cannot_be_created>
      <TestCaseFunction test_access_policy_default_policies>
      <TestCaseFunction test_creation_hooks_attr_can_be_modified>
      <TestCaseFunction test_customized_is_read_only>
      <TestCaseFunction test_statements_attr_can_be_modified>
      <TestCaseFunction test_viewset_name_is_read_only>
  <Module test_api_docs.py>
    <UnitTestCase ApiDocsTestCase>
      <TestCaseFunction test_http_method>
      <TestCaseFunction test_no_credentials>
      <TestCaseFunction test_valid_credentials>
  <Module test_auth.py>
    <UnitTestCase AuthTestCase>
      <TestCaseFunction test_base_auth_failure>
      <TestCaseFunction test_base_auth_success>
  <Module test_correlation_id.py>
    <UnitTestCase CorrelationIdTestCase>
      <TestCaseFunction test_correlation_id>
  <Module test_crd_artifacts.py>
    <UnitTestCase ArtifactTestCase>
      <TestCaseFunction test_upload_empty_file>
      <TestCaseFunction test_upload_invalid_attrs>
      <TestCaseFunction test_upload_md5>
      <TestCaseFunction test_upload_mixed_attrs>
      <TestCaseFunction test_upload_valid_attrs>
    <UnitTestCase ArtifactsDeleteFileSystemTestCase>
      <TestCaseFunction test_all>
  <Module test_status.py>
    <UnitTestCase StatusTestCase>
      <TestCaseFunction test_get_authenticated>
      <TestCaseFunction test_get_unauthenticated>
      <TestCaseFunction test_post_authenticated>
  <Module test_upload.py>
    <UnitTestCase ChunkedUploadTestCase>
      <TestCaseFunction test_create_artifact_passing_checksum>
      <TestCaseFunction test_create_artifact_without_checksum>
      <TestCaseFunction test_delete_upload>
      <TestCaseFunction test_upload_chunk_wrong_checksum>
      <TestCaseFunction test_upload_response>
  <Module test_users_groups.py>
    <UnitTestCase UserTestCase>
      <TestCaseFunction test_filter_users>
      <TestCaseFunction test_list_users>
    <UnitTestCase GroupTestCase>
      <TestCaseFunction test_filter_groups>
      <TestCaseFunction test_list_groups>
  <Module test_workers.py>
    <UnitTestCase WorkersTestCase>
      <TestCaseFunction test_01_read_all_workers>
      <TestCaseFunction test_02_read_worker>
      <TestCaseFunction test_02_read_workers>
      <TestCaseFunction test_03_positive_filters>
      <TestCaseFunction test_04_negative_filters>
      <TestCaseFunction test_05_http_method>
    <Function test_task_schedule>
<Package using_plugin>
  <Module test_acs.py>
    <UnitTestCase AlternateContentSourceTestCase>
      <TestCaseFunction test_acs_update>
      <TestCaseFunction test_create>
  <Module test_content_cache.py>
    <UnitTestCase ContentCacheTestCache>
      <TestCaseFunction test_01_basic_cache_access>
      <TestCaseFunction test_02_remove_repository_invalidates>
      <TestCaseFunction test_03_restore_repository>
      <TestCaseFunction test_04_multiple_distributions>
      <TestCaseFunction test_05_invalidate_multiple_distributions>
      <TestCaseFunction test_06_delete_distribution_invalidates_one>
      <TestCaseFunction test_07_delete_extra_pub_doesnt_invalidate>
      <TestCaseFunction test_08_delete_served_pub_does_invalidate>
      <TestCaseFunction test_09_delete_repo_invalidates>
      <TestCaseFunction test_10_no_error_when_accessing_invalid_file>
  <Module test_content_delivery.py>
    <UnitTestCase ContentDeliveryTestCase>
      <TestCaseFunction test_content_remote_delete>
    <UnitTestCase RemoteArtifactUpdateTestCase>
      <TestCaseFunction test_remote_artifact_url_update>
  <Module test_content_guard.py>
    <UnitTestCase RBACContentGuardTestCase>
      <TestCaseFunction test_01_all_users_access>
      <TestCaseFunction test_02_content_guard_creation>
      <TestCaseFunction test_03_only_creator_access>
      <TestCaseFunction test_04_add_users>
      <TestCaseFunction test_05_remove_users>
      <TestCaseFunction test_06_add_group>
      <TestCaseFunction test_07_remove_group>
  <Module test_content_path.py>
    <UnitTestCase SyncPublishContentPathTestCase>
      <TestCaseFunction test_all>
  <Module test_content_promotion.py>
    <UnitTestCase ContentPromotionTestCase>
      <TestCaseFunction test_all>
  <Module test_crd_publications.py>
    <UnitTestCase PublicationsTestCase>
      <TestCaseFunction test_01_create_file_publication>
      <TestCaseFunction test_02_read_publication>
      <TestCaseFunction test_02_read_publication_with_specific_fields>
      <TestCaseFunction test_02_read_publication_without_specific_fields>
      <TestCaseFunction test_02_read_publications_filter_created_time>
      <TestCaseFunction test_02_read_publications_filter_created_time_no_match>
      <TestCaseFunction test_02_read_publications_filter_distribution>
      <TestCaseFunction test_02_read_publications_filter_repo_version>
      <TestCaseFunction test_02_read_publications_filter_repo_version_invalid>
      <TestCaseFunction test_02_read_publications_filter_repo_version_no_match>
      <TestCaseFunction test_06_publication_create_order>
      <TestCaseFunction test_07_delete>
    <UnitTestCase PublicationRepositoryParametersTestCase>
      <TestCaseFunction test_create_only_using_repoversion>
      <TestCaseFunction test_create_repo_repoversion>
  <Module test_crud_repos.py>
    <UnitTestCase CRUDRepoTestCase>
      <TestCaseFunction test_01_create_repo>
      <TestCaseFunction test_02_create_same_name>
      <TestCaseFunction test_02_read_all_repos>
      <TestCaseFunction test_02_read_repo>
      <TestCaseFunction test_02_read_repo_with_specific_fields>
      <TestCaseFunction test_02_read_repo_without_specific_fields>
      <TestCaseFunction test_02_read_repos>
      <TestCaseFunction test_03_fully_update_desc>
      <TestCaseFunction test_03_fully_update_name>
      <TestCaseFunction test_03_partially_update_desc>
      <TestCaseFunction test_03_partially_update_name>
      <TestCaseFunction test_03_set_remote_on_repository>
      <TestCaseFunction test_04_delete_repo>
      <TestCaseFunction test_negative_create_repo_with_invalid_parameter>
    <UnitTestCase CRUDRemoteTestCase>
      <TestCaseFunction test_delete>
      <TestCaseFunction test_headers>
      <TestCaseFunction test_password_not_unset>
      <TestCaseFunction test_password_writeable>
      <TestCaseFunction test_read>
      <TestCaseFunction test_timeout_attributes>
      <TestCaseFunction test_timeout_attributes_float_lt_zero>
      <TestCaseFunction test_timeout_attributes_non_float>
      <TestCaseFunction test_timeout_attributes_reset_to_empty>
      <TestCaseFunction test_update>
    <UnitTestCase CreatePulpLabelsRemoteTestCase>
      <TestCaseFunction test_create_remote>
      <TestCaseFunction test_create_remote_using_form>
    <UnitTestCase RemoteFileURLsValidationTestCase>
      <TestCaseFunction test_invalid_absolute_pathname>
      <TestCaseFunction test_invalid_import_path>
      <TestCaseFunction test_no_username_password>
      <TestCaseFunction test_valid_import_path>
  <Module test_distributions.py>
    <UnitTestCase CRUDPublicationDistributionTestCase>
      <TestCaseFunction test_01_create>
      <TestCaseFunction test_02_read>
      <TestCaseFunction test_03_fully_update>
      <TestCaseFunction test_03_partially_update>
      <TestCaseFunction test_04_delete_distribution>
    <UnitTestCase DistributionBasePathTestCase>
      <TestCaseFunction test_negative_create_using_begin_slash>
      <TestCaseFunction test_negative_create_using_end_slash>
      <TestCaseFunction test_negative_create_using_non_unique_base_path>
      <TestCaseFunction test_negative_create_using_overlapping_base_path>
      <TestCaseFunction test_negative_create_using_spaces>
    <UnitTestCase ContentServePublicationDistributionTestCase>
      <TestCaseFunction test_content_served_after_db_restart>
      <TestCaseFunction test_content_served_immediate>
      <TestCaseFunction test_content_served_immediate_with_multiple_different_range_requests>
      <TestCaseFunction test_content_served_immediate_with_range_request_inside_one_chunk>
      <TestCaseFunction test_content_served_immediate_with_range_request_invalid_start_value>
      <TestCaseFunction test_content_served_immediate_with_range_request_over_three_chunks>
      <TestCaseFunction test_content_served_immediate_with_range_request_start_value_larger_than_content>
      <TestCaseFunction test_content_served_immediate_with_range_request_too_large_end_value>
      <TestCaseFunction test_content_served_on_demand>
      <TestCaseFunction test_content_served_on_demand_with_range_request_over_three_chunks>
      <TestCaseFunction test_content_served_streamed>
      <TestCaseFunction test_content_served_streamed_with_range_request_over_three_chunks>
      <TestCaseFunction test_nonpublished_content_not_served>
  <Module test_filesystemexport.py>
    <UnitTestCase FilesystemExporterTestCase>
      <TestCaseFunction test_create>
      <TestCaseFunction test_delete>
      <TestCaseFunction test_list>
      <TestCaseFunction test_method>
      <TestCaseFunction test_partial_update>
      <TestCaseFunction test_read>
    <UnitTestCase FilesystemExportTestCase>
      <TestCaseFunction test_delete>
      <TestCaseFunction test_export>
      <TestCaseFunction test_list>
  <Module test_generic_list.py>
    <UnitTestCase GenericListTestCase>
      <TestCaseFunction test_read_all_content_generic>
      <TestCaseFunction test_read_all_content_guards_generic>
      <TestCaseFunction test_read_all_repos_generic>
  <Module test_labels.py>
    <UnitTestCase CRUDLabelTestCase>
      <TestCaseFunction test_add_repo_labels>
      <TestCaseFunction test_create_repo_with_labels>
      <TestCaseFunction test_invalid_label_type>
      <TestCaseFunction test_invalid_labels>
      <TestCaseFunction test_model_partial_update>
      <TestCaseFunction test_remove_all_repo_labels>
      <TestCaseFunction test_unset_repo_label>
      <TestCaseFunction test_update_repo_label>
    <UnitTestCase FilterLabelTestCase>
      <TestCaseFunction test_empty_blank_filter>
      <TestCaseFunction test_invalid_label_select>
      <TestCaseFunction test_label_select>
  <Module test_orphans.py>
    <UnitTestCase DeleteOrphansTestCase>
      <TestCaseFunction test_clean_orphan_artifact>
      <TestCaseFunction test_clean_orphan_content_unit>
    <UnitTestCase OrphansCleanUpTestCase>
      <TestCaseFunction test_clean_orphan_artifact>
      <TestCaseFunction test_clean_orphan_content_unit>
      <TestCaseFunction test_clean_specific_orphans>
      <TestCaseFunction test_clean_specific_orphans_but_invalid_orphan_specified>
      <TestCaseFunction test_clean_specific_orphans_but_no_orphans_specified>
  <Module test_pagination.py>
    <UnitTestCase RepoVersionPaginationTestCase>
      <TestCaseFunction test_file_content>
    <UnitTestCase PaginationTestCase>
      <TestCaseFunction test_page_handler_pagination>
      <TestCaseFunction test_raw_pagination>
  <Module test_proxy.py>
    <Function test_sync_http_through_http_proxy>
    <Function test_sync_https_through_http_proxy>
    <Function test_sync_https_through_http_proxy_with_auth>
    <Function test_sync_https_through_http_proxy_with_auth_but_auth_not_configured>
    <Function test_sync_http_through_https_proxy>
  <Module test_publications.py>
    <UnitTestCase ContentInPublicationViewTestCase>
      <TestCaseFunction test_all>
  <Module test_pulpexport.py>
    <UnitTestCase PulpExporterTestCase>
      <TestCaseFunction test_create>
      <TestCaseFunction test_delete>
      <TestCaseFunction test_list>
      <TestCaseFunction test_partial_update>
      <TestCaseFunction test_read>
    <UnitTestCase PulpExportTestCase>
      <TestCaseFunction test_chunking>
      <TestCaseFunction test_delete>
      <TestCaseFunction test_export>
      <TestCaseFunction test_export_by_version_results>
      <TestCaseFunction test_export_by_version_validation>
      <TestCaseFunction test_export_output>
      <TestCaseFunction test_incremental>
      <TestCaseFunction test_list>
      <TestCaseFunction test_start_end_incrementals>
  <Module test_pulpimport.py>
    <UnitTestCase PulpImportTestCase>
      <TestCaseFunction test_chunked_import>
      <TestCaseFunction test_double_import>
      <TestCaseFunction test_import>
      <TestCaseFunction test_import_check_all_valid>
      <TestCaseFunction test_import_check_multiple_errors>
      <TestCaseFunction test_import_check_no_file>
      <TestCaseFunction test_import_check_not_allowed>
      <TestCaseFunction test_import_check_repo_mapping>
      <TestCaseFunction test_import_check_valid_path>
      <TestCaseFunction test_import_check_valid_toc>
      <TestCaseFunction test_import_not_latest_version>
      <TestCaseFunction test_importer_create>
      <TestCaseFunction test_importer_delete>
  <Module test_purge.py>
    <UnitTestCase TaskPurgeTestCase>
      <TestCaseFunction test_bad_date>
      <TestCaseFunction test_bad_state>
      <TestCaseFunction test_not_final_state>
      <TestCaseFunction test_purge_all>
      <TestCaseFunction test_purge_before_time>
      <TestCaseFunction test_purge_defaults>
      <TestCaseFunction test_purge_leave_one>
      <TestCaseFunction test_purge_only_failed>
    <UnitTestCase TaskPurgeUserPermsTestCase>
      <TestCaseFunction testAdminCanPurge>
      <TestCaseFunction testUserCanPurge>
      <TestCaseFunction testUserCannotPurge>
  <Module test_reclaim_disk_space.py>
    <UnitTestCase ReclaimSpaceTestCase>
      <TestCaseFunction test_immediate_reclaim_becomes_on_demand>
      <TestCaseFunction test_reclaim_immediate_content>
      <TestCaseFunction test_reclaim_on_demand_content>
  <Module test_remove_plugin.py>
    <Function test_remove_plugin>
  <Module test_repair.py>
    <UnitTestCase ArtifactRepairTestCase>
      <TestCaseFunction test_repair_global_with_checksums>
      <TestCaseFunction test_repair_global_without_checksums>
      <TestCaseFunction test_repair_repository_version_with_checksums>
      <TestCaseFunction test_repair_repository_version_without_checksums>
  <Module test_repo_versions.py>
    <UnitTestCase AddRemoveContentTestCase>
      <TestCaseFunction test_01_create_repository>
      <TestCaseFunction test_02_sync_content>
      <TestCaseFunction test_03_remove_content>
      <TestCaseFunction test_04_add_content>
    <UnitTestCase SyncChangeRepoVersionTestCase>
      <TestCaseFunction test_all>
    <UnitTestCase AddRemoveRepoVersionTestCase>
      <TestCaseFunction test_delete_all_versions>
      <TestCaseFunction test_delete_first_version>
      <TestCaseFunction test_delete_last_version>
      <TestCaseFunction test_delete_middle_version>
      <TestCaseFunction test_delete_publication>
    <Function test_squash_repo_version>
    <UnitTestCase ContentImmutableRepoVersionTestCase>
      <TestCaseFunction test_all>
    <UnitTestCase FilterRepoVersionTestCase>
      <TestCaseFunction test_deleted_version_filter>
      <TestCaseFunction test_filter_invalid_content>
      <TestCaseFunction test_filter_invalid_date>
      <TestCaseFunction test_filter_invalid_version>
      <TestCaseFunction test_filter_nonexistent_version>
      <TestCaseFunction test_filter_valid_content>
      <TestCaseFunction test_filter_valid_date>
      <TestCaseFunction test_filter_valid_version>
    <UnitTestCase CreatedResourcesTaskTestCase>
      <TestCaseFunction test_all>
    <UnitTestCase CreateRepoBaseVersionTestCase>
      <TestCaseFunction test_base_version_exception>
      <TestCaseFunction test_base_version_other_parameters>
      <TestCaseFunction test_different_repository>
      <TestCaseFunction test_same_repository>
    <UnitTestCase UpdateRepoVersionTestCase>
      <TestCaseFunction test_http_error>
    <UnitTestCase FilterArtifactsTestCase>
      <TestCaseFunction test_filter_invalid_repo_version>
      <TestCaseFunction test_filter_last_repository_version>
      <TestCaseFunction test_filter_valid_repo_version>
    <UnitTestCase DeleteRepoVersionResourcesTestCase>
      <TestCaseFunction test_delete_distribution>
      <TestCaseFunction test_delete_publication>
    <UnitTestCase ClearAllUnitsRepoVersionTestCase>
      <TestCaseFunction test_add_and_clear_all_units>
      <TestCaseFunction test_clear_all_units>
      <TestCaseFunction test_clear_all_units_using_base_version>
      <TestCaseFunction test_http_error>
    <UnitTestCase BaseVersionTestCase>
      <TestCaseFunction test_add_content_with_base_version>
    <UnitTestCase RepoVersionRetentionTestCase>
      <TestCaseFunction test_autodistribute>
      <TestCaseFunction test_retain_repo_versions>
      <TestCaseFunction test_retain_repo_versions_on_update>
    <UnitTestCase ContentInRepositoryVersionViewTestCase>
      <TestCaseFunction test_all>
  <Module test_sync.py>
    <Function test_http_sync_no_ssl>
    <Function test_http_sync_ssl_tls_validation_off>
    <Function test_http_sync_ssl_tls_validation_on>
    <Function test_http_sync_ssl_tls_validation_defaults_to_on>
    <Function test_http_sync_ssl_with_client_cert_req>
    <Function test_ondemand_to_immediate_sync>
    <Function test_header_for_sync>
  <Module test_tasking.py>
    <UnitTestCase MultiResourceLockingTestCase>
      <TestCaseFunction test_all>
    <UnitTestCase CancelTaskTestCase>
      <TestCaseFunction test_cancel_finished_task>
      <TestCaseFunction test_cancel_nonexistent_task>
      <TestCaseFunction test_cancel_running_task>
      <TestCaseFunction test_delete_running_task>
  <Module test_tasks.py>
    <UnitTestCase TasksTestCase>
      <TestCaseFunction test_01_create_task>
      <TestCaseFunction test_02_read_href>
      <TestCaseFunction test_02_read_href_with_specific_fields>
      <TestCaseFunction test_02_read_invalid_date>
      <TestCaseFunction test_02_read_invalid_worker>
      <TestCaseFunction test_02_read_task_with_minimal_fields>
      <TestCaseFunction test_02_read_task_without_specific_fields>
      <TestCaseFunction test_02_read_valid_date>
      <TestCaseFunction test_02_read_valid_worker>
      <TestCaseFunction test_02_search_by_invalid_name>
      <TestCaseFunction test_02_search_task_by_name>
      <TestCaseFunction test_03_delete_tasks>
    <UnitTestCase FilterTaskCreatedResourcesTestCase>
      <TestCaseFunction test_read_fields_created_resources_only>
    <UnitTestCase FilterTaskResourcesTestCase>
      <TestCaseFunction test_01_filter_tasks_by_reserved_resources>
      <TestCaseFunction test_02_filter_tasks_by_non_existing_resources>
      <TestCaseFunction test_03_filter_tasks_by_created_resources>
      <TestCaseFunction test_04_filter_tasks_by_non_existing_resources>
  <Module test_unlinking_repo.py>
    <UnitTestCase RemotesTestCase>
      <TestCaseFunction test_all>
```