tkopecek / koji

Forked from koji 7 years ago
Clone

f5c9ca9 PR#4068: Rework mocking of QueryProcessor in DBQueryTestCase

Merged and Committed by tkopecek 3 months ago
98 files changed. 317 lines added. 20 lines removed.
tests/test_cli/test_add_channel.py
file modified
+3 -0
tests/test_cli/test_add_external_repo.py
file modified
+3 -0
tests/test_cli/test_add_group.py
file modified
+3 -0
tests/test_cli/test_add_host.py
file modified
+3 -0
tests/test_cli/test_add_host_to_channel.py
file modified
+3 -0
tests/test_cli/test_add_notification.py
file modified
+3 -0
tests/test_cli/test_add_pkg.py
file modified
+3 -0
tests/test_cli/test_add_tag.py
file modified
+3 -0
tests/test_cli/test_add_tag_inheritance.py
file modified
+3 -0
tests/test_cli/test_add_target.py
file modified
+3 -0
tests/test_cli/test_add_user.py
file modified
+3 -0
tests/test_cli/test_add_volume.py
file modified
+3 -0
tests/test_cli/test_assign_task.py
file modified
+3 -0
tests/test_cli/test_block_group.py
file modified
+3 -0
tests/test_cli/test_block_notification.py
file modified
+3 -0
tests/test_cli/test_block_pkg.py
file modified
+3 -0
tests/test_cli/test_build.py
file modified
+3 -0
tests/test_cli/test_call.py
file modified
+3 -0
tests/test_cli/test_cancel.py
file modified
+3 -0
tests/test_cli/test_chain_build.py
file modified
+3 -0
tests/test_cli/test_disable_channel.py
file modified
+3 -0
tests/test_cli/test_disable_host.py
file modified
+3 -0
tests/test_cli/test_disable_user.py
file modified
+3 -0
tests/test_cli/test_edit_external_repo.py
file modified
+3 -0
tests/test_cli/test_edit_host.py
file modified
+3 -0
tests/test_cli/test_edit_notification.py
file modified
+3 -0
tests/test_cli/test_edit_permission.py
file modified
+3 -0
tests/test_cli/test_edit_tag.py
file modified
+3 -0
tests/test_cli/test_edit_target.py
file modified
+3 -0
tests/test_cli/test_edit_user.py
file modified
+3 -0
tests/test_cli/test_enable_channel.py
file modified
+3 -0
tests/test_cli/test_enable_host.py
file modified
+3 -0
tests/test_cli/test_enable_user.py
file modified
+3 -0
tests/test_cli/test_free_task.py
file modified
+3 -0
tests/test_cli/test_grant_cg_access.py
file modified
+3 -0
tests/test_cli/test_grant_permission.py
file modified
+3 -0
tests/test_cli/test_hello.py
file modified
+3 -0
tests/test_cli/test_import.py
file modified
+3 -0
tests/test_cli/test_import_archive.py
file modified
+3 -0
tests/test_cli/test_import_cg.py
file modified
+3 -0
tests/test_cli/test_import_comps.py
file modified
+3 -0
tests/test_cli/test_import_sig.py
file modified
+3 -0
tests/test_cli/test_list_api.py
file modified
+3 -0
tests/test_cli/test_list_buildroot.py
file modified
+3 -0
tests/test_cli/test_list_channels.py
file modified
+3 -0
tests/test_cli/test_list_notifications.py
file modified
+3 -0
tests/test_cli/test_list_permissions.py
file modified
+3 -0
tests/test_cli/test_list_pkgs.py
file modified
+3 -0
tests/test_cli/test_list_signed.py
file modified
+3 -0
tests/test_cli/test_list_tags.py
file modified
+3 -0
tests/test_cli/test_mock_config.py
file modified
+3 -0
tests/test_cli/test_remove_external_repo.py
file modified
+3 -0
tests/test_cli/test_remove_pkg.py
file modified
+3 -0
tests/test_cli/test_remove_tag_inheritance.py
file modified
+3 -0
tests/test_cli/test_restart_host.py
file modified
+3 -0
tests/test_cli/test_set_task_priority.py
file modified
+3 -0
tests/test_cli/test_show_groups.py
file modified
+3 -0
tests/test_cli/test_untag_build.py
file modified
+3 -0
tests/test_cli/test_watch_logs.py
file modified
+3 -0
tests/test_cli/test_win_build.py
file modified
+3 -0
tests/test_hub/test_add_group_member.py
file modified
+3 -0
tests/test_hub/test_add_volume.py
file modified
+3 -0
tests/test_hub/test_create_image_build.py
file modified
+3 -0
tests/test_hub/test_create_maven_build.py
file modified
+3 -0
tests/test_hub/test_create_user.py
file modified
+3 -0
tests/test_hub/test_create_win_build.py
file modified
+3 -0
tests/test_hub/test_delete_build_target.py
file modified
+3 -0
tests/test_hub/test_disable_channel.py
file modified
+3 -0
tests/test_hub/test_disable_user.py
file modified
+3 -0
tests/test_hub/test_edit_permission.py
file modified
+3 -0
tests/test_hub/test_enable_channel.py
file modified
+3 -0
tests/test_hub/test_enable_user.py
file modified
+3 -0
tests/test_hub/test_find_build_id.py
file modified
+3 -0
tests/test_hub/test_getRPMDeps.py
file modified
+3 -0
tests/test_hub/test_get_build_notifications.py
file modified
+3 -0
tests/test_hub/test_get_buildroot.py
file modified
+3 -0
tests/test_hub/test_get_changelog_entries.py
file modified
+3 -0
tests/test_hub/test_get_external_repo.py
file modified
+3 -0
tests/test_hub/test_get_volume.py
file modified
+3 -0
tests/test_hub/test_grant_permissions.py
file modified
+3 -0
tests/test_hub/test_group_pkg_operations.py
file modified
+3 -0
tests/test_hub/test_group_req_operations.py
file modified
+3 -0
tests/test_hub/test_import_image_internal.py
file modified
+1 -0
tests/test_hub/test_list_builds.py
file modified
+3 -0
tests/test_hub/test_list_tagged.py
file modified
+3 -0
tests/test_hub/test_list_tagged_archives.py
file modified
+3 -0
tests/test_hub/test_list_tagged_rpms.py
file modified
+3 -0
tests/test_hub/test_models/test_host.py
file modified
+3 -0
tests/test_hub/test_multicall.py
file modified
+3 -0
tests/test_hub/test_new_maven_build.py
file modified
+3 -0
tests/test_hub/test_new_win_build.py
file modified
+3 -0
tests/test_hub/test_query_buildroots.py
file modified
+3 -0
tests/test_hub/test_query_rpm_sigs.py
file modified
+3 -0
tests/test_hub/test_restart_hosts.py
file modified
+3 -0
tests/test_hub/test_set_user_status.py
file modified
+3 -0
tests/test_hub/test_verify_names.py
file modified
+6 -0
tests/test_hub/utils.py
file modified
+25 -20
tests/test_lib/test_auth.py
file modified
+3 -0
    PR#4068: Rework mocking of QueryProcessor in DBQueryTestCase
    
    Merges #4068
    https://pagure.io/koji/pull-request/4068
    
    Fixes: #4071
    https://pagure.io/koji/issue/4071
    DBQueryTestCase class doesn't work for other hub modules
    
    Relates: #2758
    https://pagure.io/koji/issue/2758
    DBQueryTest doesn't clean mock env
    
        
file modified
+3 -0
file modified
+3 -0
file modified
+3 -0
file modified
+25 -20
file modified
+3 -0