Commit graph

133 commits

Author SHA1 Message Date
Tomas Kopecek
7b8fcd989f permissions 2017-03-30 09:25:51 -04:00
Tomas Kopecek
437afbb720 CLI for save_failed_tree 2017-03-30 09:25:51 -04:00
Tomas Kopecek
b133f9c983 more runroot tests 2017-03-29 18:13:39 -04:00
Tomas Kopecek
4ef0bc2051 use only relative paths + volumes in downloadTaskOutput 2017-03-28 11:46:47 +02:00
Mike McLean
07c5c2598c test that volume is passed in fastUpload code 2017-03-28 11:46:47 +02:00
Mike McLean
64e7632fd2 split up upload tests 2017-03-28 11:46:47 +02:00
Tomas Kopecek
e6effec7e1 backward compatibility changes 2017-03-28 11:46:47 +02:00
Tomas Kopecek
323987e376 Allow uploading files to non-default volumes 2017-03-28 11:46:47 +02:00
Mike McLean
1cc415f141 new watch_tasks code should re-raise KeyboardInterrupt 2017-03-20 15:19:11 -04:00
Mike McLean
8e34abb5ac don't abort all unit tests if KeyboardInterrupt is uncaught by code 2017-03-20 15:19:11 -04:00
Tomas Kopecek
22bedc900d whitespace formatting 2017-03-17 11:35:53 -04:00
Yuming Zhu
75d07f6d01 make cli and hub to support remove-extra for edit-tag 2017-03-16 16:48:13 -04:00
Tomas Kopecek
e4fe2b1735 Set compatrequests defaults same as requests
Python-requests iter_content has chunk_size set to 1. Let's do it same
in compatrequests, so we don't confuse users.

http://docs.python-requests.org/en/master/_modules/requests/models/#Response.iter_content
2017-03-16 09:54:58 -04:00
Tomas Kopecek
186d6db4b2 Handle empty file upload 2017-03-07 18:22:32 +01:00
Yuming Zhu
6641eb0510 cli: move list-permissions to info category 2017-03-07 10:22:41 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Brendan Reilly
8a966ee630 Added support for CG provided owner 2017-02-28 10:47:14 -05:00
Mike McLean
e4b8a39eb0 rework logic and extend unit tests 2017-02-20 10:50:39 -05:00
Mike McLean
2062515663 more choose_taskarch testing 2017-02-20 10:50:39 -05:00
Mike McLean
695ded30c8 stub kojid tests 2017-02-20 10:50:39 -05:00
Mike McLean
c59333ab70 test cases for fixEncoding 2017-02-16 16:26:42 -05:00
Tomas Kopecek
43fb086f97 Fix options.force in import_comps
Change from opts.force to opts['force'] was introduced in
434bfb86f4, but this one is not working
now.
2017-02-14 11:24:56 -05:00
Mike McLean
e144cee104 include raise_for_status in unit test 2017-02-14 11:19:15 -05:00
Mike McLean
4f2d1bc855 be stricter about incrementable release values 2017-01-26 16:57:45 +01:00
Mike McLean
8b5a9cd08b more complex release values to test 2017-01-26 16:49:35 +01:00
Mike McLean
9e8cc1af73 unit test for get_next_release() 2017-01-26 16:49:35 +01:00
Tomas Kopecek
5ba8ed9b22 Basic test for task canfail 2017-01-12 14:28:22 -05:00
Tomas Kopecek
ce0f1884e1 update tests 2017-01-12 14:28:22 -05:00
Tomas Kopecek
8999162807 convert test data to json 2017-01-11 21:28:34 -05:00
Your Name
897df962a6 Make tests compatible with rhel7/centos7 2017-01-11 21:28:34 -05:00
Tomas Kopecek
f4ede5339f Update http:// to https:// in code
Where https is working, code was updated to use it.
2016-12-19 11:49:11 -05:00
Mike McLean
feb619f460 unit tests for new_session() 2016-11-22 16:41:31 -05:00
Mike McLean
53d315788d add test for ClientSession.serverPrincipal 2016-11-22 16:41:31 -05:00
Mike McLean
d97d568c39 more compatrequests unit tests 2016-11-22 16:41:31 -05:00
Mike McLean
29a7c9e816 still more tests 2016-11-22 16:41:31 -05:00
Mike McLean
8eb69799ad more unit tests for compatrequests 2016-11-22 16:41:31 -05:00
Mike McLean
e9a8c60a3a some unit tests for koji.compatrequests 2016-11-22 16:41:31 -05:00
Mike McLean
9b4ccd18ec stop mocking removed function in tests 2016-11-22 16:41:31 -05:00
Mike McLean
caf17b6a3e rename test file 2016-11-21 12:37:49 -05:00
Mike McLean
ce59d83dc8 test for _untag_build 2016-11-21 12:37:49 -05:00
Mike McLean
6f0685c07f fix up test case 2016-11-21 12:37:49 -05:00
Mike McLean
38a42e9997 stub test for _tag_build 2016-11-21 12:37:49 -05:00
Mike McLean
4c6992a090 unit test for create_tag() 2016-11-21 12:37:49 -05:00
Yuming Zhu
4a5b2d0b21 ut: test case for koji.util.tsort() 2016-11-21 10:52:32 -05:00
Yuming Zhu
de5a34288a ut: koji.utils - cases for related Maven build utils 2016-11-21 10:52:32 -05:00
Yuming Zhu
edbed0a167 ut: format testcases 2016-11-21 10:52:32 -05:00
Yuming Zhu
00fbfe274a ut: cli - test_maven_build 2016-11-21 10:52:32 -05:00
Mike Bonnet
17fac58281 protonmsg hub plugin
This plugin sends messages to a broker about events in the hub
using the proton library. This library supports the AMQP 1.0
protocol and is compatible with a wide variety of message
brokers. It queues all messages until the postCommit callback,
avoiding race conditions between message reception and database
transaction commit.
2016-11-04 11:59:51 -07:00
Mike McLean
23778dceb7 update CG_Importer.get_build test 2016-10-26 15:14:22 -04:00
Joel Vasallo
f0918c7941 Leveraging koji.fixEncoding() and cleaned up spacing 2016-10-26 14:40:14 -04:00