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
Joel Vasallo
3d37674b23
Added test cases for get_build
2016-10-26 14:37:34 -04:00
Joel Vasallo
5204c757e0
Added more CG_Importer unit tests
2016-10-26 14:37:34 -04:00
Joel Vasallo
c012f78317
Added test for CG_Importer test_build
2016-10-26 14:37:34 -04:00
Joel Vasallo
e2b2276e94
Added tests for assert_cg_access
2016-10-26 14:34:39 -04:00
Joel Vasallo
5da1a7cd1e
Cleaned up test cases for get_metadata
2016-10-26 14:34:39 -04:00
Joel Vasallo
845026ad66
Added default.json and finished get_metadata tests
2016-10-26 14:34:39 -04:00
Joel Vasallo
8530353023
Added tests for get_metadata
...
- Fixed Typo
2016-10-26 14:34:39 -04:00
Joel Vasallo
d53b7c35a4
Added base test case for CG_Importer
2016-10-26 14:34:39 -04:00
Yuming Zhu
2aec75f476
ut: cli - test_chain_build
...
cli.handle_chain_build: remove unused '--noprogress'
add '--quiet'
2016-10-26 13:41:12 -04:00