tkopecek / koji

Forked from koji 7 years ago
Clone

c68396c Use unittest2 for rhel6 compatibility

162 files Authored by tkopecek 5 years ago, Committed by mikem 5 years ago,
162 files changed. 1160 lines added. 545 lines removed.
koji/tasks.py
file modified
+1 -1
plugins/builder/runroot.py
file modified
+34 -36
tests/test_builder/test_build_notification.py
file modified
+4 -2
tests/test_builder/test_choose_taskarch.py
file modified
+4 -1
tests/test_builder/test_taskparams.py
file modified
+4 -2
tests/test_cli/data/image-build-config.conf
file added
+30
tests/test_cli/test_activate_session.py
file modified
+4 -1
tests/test_cli/test_add_group.py
file modified
+8 -4
tests/test_cli/test_add_group_pkg.py
file modified
+5 -1
tests/test_cli/test_add_group_req.py
file modified
+5 -1
tests/test_cli/test_add_host.py
file modified
+8 -2
tests/test_cli/test_add_host_to_channel.py
file modified
+8 -2
tests/test_cli/test_add_notification.py
file modified
+4 -1
tests/test_cli/test_add_pkg.py
file modified
+16 -4
tests/test_cli/test_add_tag.py
file modified
+5 -1
tests/test_cli/test_add_user.py
file modified
+5 -1
tests/test_cli/test_add_volume.py
file modified
+5 -1
tests/test_cli/test_assign_task.py
file modified
+9 -3
tests/test_cli/test_block_group_pkg.py
file modified
+5 -1
tests/test_cli/test_block_group_req.py
file modified
+5 -1
tests/test_cli/test_block_pkg.py
file modified
+8 -2
tests/test_cli/test_build.py
file modified
+28 -7
tests/test_cli/test_call.py
file modified
+12 -6
tests/test_cli/test_chain_build.py
file modified
+24 -6
tests/test_cli/test_disable_host.py
file modified
+4 -1
tests/test_cli/test_disable_user.py
file modified
+5 -1
tests/test_cli/test_dist_repo.py
file modified
+6 -2
tests/test_cli/test_download_file.py
file modified
+9 -2
tests/test_cli/test_download_logs.py
file modified
+5 -1
tests/test_cli/test_download_task.py
file modified
+32 -8
tests/test_cli/test_edit_host.py
file modified
+9 -2
tests/test_cli/test_edit_notification.py
file modified
+4 -1
tests/test_cli/test_edit_tag.py
file modified
+12 -4
tests/test_cli/test_enable_host.py
file modified
+4 -1
tests/test_cli/test_enable_user.py
file modified
+5 -1
tests/test_cli/test_grant_cg_access.py
file modified
+4 -1
tests/test_cli/test_grant_permission.py
file modified
+4 -1
tests/test_cli/test_hello.py
file modified
+5 -2
tests/test_cli/test_image_build.py
file modified
+34 -80
tests/test_cli/test_image_build_indirection.py
file modified
+9 -5
tests/test_cli/test_import.py
file modified
+31 -23
tests/test_cli/test_import_cg.py
file modified
+26 -26
tests/test_cli/test_import_comps.py
file modified
+8 -2
tests/test_cli/test_import_sig.py
file modified
+8 -5
tests/test_cli/test_list_api.py
file modified
+4 -1
tests/test_cli/test_list_channels.py
file modified
+4 -1
tests/test_cli/test_list_commands.py
file modified
+4 -1
tests/test_cli/test_list_groups.py
file modified
+4 -1
tests/test_cli/test_list_notifications.py
file modified
+8 -5
tests/test_cli/test_list_permissions.py
file modified
+5 -1
tests/test_cli/test_list_tasks.py
file modified
+4 -1
tests/test_cli/test_list_volumes.py
file modified
+5 -1
tests/test_cli/test_load_plugins.py
file modified
+4 -1
tests/test_cli/test_maven_build.py
file modified
+40 -10
tests/test_cli/test_maven_chain.py
file modified
+4 -1
tests/test_cli/test_mock_config.py
file modified
+4 -1
tests/test_cli/test_move_build.py
file modified
+5 -1
tests/test_cli/test_regen_repo.py
file modified
+5 -2
tests/test_cli/test_remove_channel.py
file modified
+8 -2
tests/test_cli/test_remove_host_from_channel.py
file modified
+8 -2
tests/test_cli/test_remove_notification.py
file modified
+5 -1
tests/test_cli/test_remove_pkg.py
file modified
+9 -2
tests/test_cli/test_rename_channel.py
file modified
+9 -2
tests/test_cli/test_restart_host.py
file modified
+5 -2
tests/test_cli/test_resubmit.py
file modified
+4 -1
tests/test_cli/test_revoke_cg_access.py
file modified
+4 -1
tests/test_cli/test_revoke_permission.py
file modified
+4 -1
tests/test_cli/test_running_in_bg.py
file modified
+4 -2
tests/test_cli/test_search.py
file modified
+4 -1
tests/test_cli/test_set_build_volume.py
file modified
+5 -1
tests/test_cli/test_set_pkg_arches.py
file modified
+4 -1
tests/test_cli/test_set_pkg_owner.py
file modified
+4 -1
tests/test_cli/test_set_task_priority.py
file modified
+4 -1
tests/test_cli/test_tag_build.py
file modified
+5 -1
tests/test_cli/test_taskinfo.py
file modified
+12 -9
tests/test_cli/test_unblock_group_pkg.py
file modified
+5 -1
tests/test_cli/test_unblock_group_req.py
file modified
+5 -1
tests/test_cli/test_unblock_pkg.py
file modified
+5 -1
tests/test_cli/test_unique_path.py
file modified
+5 -1
tests/test_cli/test_upload_progress_callback.py
file modified
+5 -1
tests/test_cli/test_wait_repo.py
file modified
+5 -2
tests/test_cli/test_watch_tasks.py
file modified
+4 -1
tests/test_cli/test_wrapper_rpm.py
file modified
+4 -1
tests/test_cli/test_write_signed_rpm.py
file modified
+6 -3
tests/test_cli/utils.py
file modified
+17 -9
tests/test_docs_version.py
file modified
+7 -2
tests/test_hub/test_add_btype.py
file modified
+4 -1
tests/test_hub/test_add_external_rpm.py
file modified
+4 -1
tests/test_hub/test_add_host.py
file modified
+4 -1
tests/test_hub/test_add_host_to_channel.py
file modified
+4 -1
tests/test_hub/test_apply_query_opts.py
file modified
+4 -2
tests/test_hub/test_cg_importer.py
file modified
+4 -1
tests/test_hub/test_check_volume_policy.py
file modified
+4 -2
tests/test_hub/test_complete_image_build.py
file modified
+7 -5
tests/test_hub/test_complete_maven_build.py
file modified
+7 -5
tests/test_hub/test_create_tag.py
file modified
+4 -2
tests/test_hub/test_delete_build.py
file modified
+4 -1
tests/test_hub/test_delete_tag.py
file modified
+4 -2
tests/test_hub/test_dist_repo.py
file modified
+4 -2
tests/test_hub/test_edit_host.py
file modified
+4 -1
tests/test_hub/test_edit_tag.py
file modified
+4 -2
tests/test_hub/test_getRPMDeps.py
file modified
+4 -2
tests/test_hub/test_get_active_repos.py
file modified
+4 -2
tests/test_hub/test_get_archive_file.py
file modified
+4 -1
tests/test_hub/test_get_build_logs.py
file modified
+4 -2
tests/test_hub/test_get_build_type.py
file modified
+4 -1
tests/test_hub/test_get_host.py
file modified
+4 -1
tests/test_hub/test_get_next_release.py
file modified
+4 -2
tests/test_hub/test_get_upload_path.py
file modified
+5 -1
tests/test_hub/test_get_user_perms.py
file modified
+4 -2
tests/test_hub/test_get_verify_class.py
file modified
+5 -1
tests/test_hub/test_group_operations.py
file modified
+4 -2
tests/test_hub/test_import_build.py
file modified
+4 -1
tests/test_hub/test_import_image_internal.py
file modified
+4 -2
tests/test_hub/test_insert_processor.py
file modified
+4 -1
tests/test_hub/test_list_archive_files.py
file modified
+4 -2
tests/test_hub/test_list_btypes.py
file modified
+4 -1
tests/test_hub/test_list_channels.py
file modified
+4 -1
tests/test_hub/test_list_hosts.py
file modified
+4 -1
tests/test_hub/test_list_task_output.py
file modified
+4 -1
tests/test_hub/test_listing.py
file modified
+4 -1
tests/test_hub/test_models/test_host.py
file modified
+4 -1
tests/test_hub/test_new_typed_build.py
file modified
+4 -1
tests/test_hub/test_notifications.py
file modified
+4 -1
tests/test_hub/test_policy_tests.py
file modified
+4 -1
tests/test_hub/test_query_processor.py
file modified
+4 -1
tests/test_hub/test_remove_host_from_channel.py
file modified
+4 -1
tests/test_hub/test_rpmdiff.py
file modified
+4 -1
tests/test_hub/test_set_host_enabled.py
file modified
+4 -1
tests/test_hub/test_tag_operations.py
file modified
+4 -1
tests/test_hub/test_task_wait_results.py
file modified
+4 -1
tests/test_hub/test_update_processor.py
file modified
+4 -1
tests/test_hub/test_user_groups.py
file modified
+4 -1
tests/test_hub/test_write_maven_repo_metadata.py
file modified
+9 -7
tests/test_hub/utils.py
file modified
+4 -1
tests/test_kojira/test_repo_manager.py
file modified
+4 -1
tests/test_lib/test_argspec.py
file modified
+5 -1
tests/test_lib/test_client_session.py
file modified
+4 -1
tests/test_lib/test_encode_datetime.py
file modified
+4 -1
tests/test_lib/test_fixEncoding.py
file modified
+6 -2
tests/test_lib/test_format_time.py
file modified
+5 -1
tests/test_lib/test_gen_mock_config.py
file modified
+4 -1
tests/test_lib/test_grab_session_options.py
file modified
+4 -1
tests/test_lib/test_gssapi.py
file modified
+5 -3
tests/test_lib/test_parsers.py
file modified
+4 -1
tests/test_lib/test_plugin.py
file modified
+4 -1
tests/test_lib/test_profiles.py
file modified
+5 -2
tests/test_lib/test_utils.py
file modified
+76 -73
tests/test_lib/test_xmlrpcplus.py
file modified
+4 -1
tests/test_lib_py2only/test_auth.py
file modified
+4 -1
tests/test_lib_py2only/test_krbv.py
file modified
+5 -3
tests/test_lib_py2only/test_policy.py
file modified
+4 -1
tests/test_lib_py2only/test_restart_tasks.py
file modified
+4 -1
tests/test_lib_py2only/test_tasks.py
file modified
+8 -4
tests/test_plugins/test_protonmsg.py
file modified
+7 -3
tests/test_plugins/test_runroot_builder.py
file modified
+28 -17
tests/test_plugins/test_runroot_cli.py
file modified
+4 -1
tests/test_plugins/test_runroot_hub.py
file modified
+4 -1
tests/test_plugins/test_save_failed_tree_builder.py
file modified
+4 -1
tests/test_plugins/test_save_failed_tree_cli.py
file modified
+4 -1
tests/test_scm.py
file modified
+5 -5
tests/test_www/test_taskinfo.py
file modified
+5 -1
    Use unittest2 for rhel6 compatibility
    
    Fixes: https://pagure.io/koji/issue/830
    
        
file modified
+1 -1
file modified
+34 -36
file modified
+28 -7
file modified
+12 -6
file modified
+5 -2
file modified
+31 -23
file modified
+17 -9
file modified
+7 -2
file modified
+4 -1
file modified
+76 -73
file modified
+5 -5