Tomas Kopecek
5ac2a6b8f0
display suid bit in web ui
...
Related: https://pagure.io/koji/issue/616
2017-10-05 10:38:48 -04:00
Tomas Kopecek
26474b72fc
drop importBuildInPlace call
...
"The importBuildInPlace call is an artifact of a particular bootstrap
event that happened a long time ago. It's not really documented or
recommended for current use."
Related: https://pagure.io/koji/issue/553
2017-09-26 17:32:16 -04:00
Tomas Kopecek
1891892c25
move spin-livemedia to build section
...
Related: https://pagure.io/koji/issue/586
2017-09-26 12:42:56 +02:00
Mike McLean
c457d07246
fix up url checks and extend unit tests for this issue
2017-09-19 14:43:23 -04:00
Tomas Kopecek
647978bb70
update test
2017-09-18 16:56:22 -04:00
Mike McLean
aa9a7b8841
avoid mocking isfile in unit test
2017-09-14 23:34:47 -04:00
Mike McLean
9bd9e07b42
unit tests for activate_session
2017-09-14 22:59:41 -04:00
Mike McLean
71089f449c
test case where rpm size header gives None, but no longsize header
2017-09-08 16:33:09 -04:00
Brendan Reilly
f9f41b46e6
Added better state handling, prefix option, tz handling, sorting to list-builds
2017-09-08 16:20:17 -04:00
Mike McLean
cea43dd458
correct range for i8 (64 bit signed)
2017-08-25 16:48:02 -04:00
Mike McLean
2dfbd7d998
another unit test
2017-08-25 16:48:02 -04:00
Mike McLean
ae4e4e7b51
unit test corner cases. xmlrpcplus coverage 100%
2017-08-25 16:48:02 -04:00
Mike McLean
5bcaf7cebe
include some unicode in unit test data
2017-08-25 16:48:02 -04:00
Mike McLean
6c1d2e637a
use python six to get xmlrpc_client in unit tests
2017-08-25 16:48:02 -04:00
Mike McLean
bce7c414ae
more xmlrpcplus unit tests
2017-08-25 16:48:02 -04:00
Mike McLean
2925e1cf93
some unit tests for xmlrpcplus
2017-08-25 16:48:02 -04:00
Mike McLean
fcfa6789c4
unit test: get protonmsg coverage back up to 100%, ensure test config is read
2017-08-25 00:10:10 -04:00
Mike McLean
60b4ede377
unit test to check that version in docs matches version in spec
2017-08-24 23:37:12 -04:00
Yuming Zhu
ba087236dd
cli: using PROGRESSFUNCTION before libcurl 7.32.0 in download_file
2017-08-08 12:26:22 -04:00
Yuming Zhu
5df1e3e6e6
cli: do not print extra blank line when noprogress passed
2017-08-08 12:26:22 -04:00
Yuming Zhu
c730f2b3aa
fix cli unittest: test_download_task.py for py3
2017-08-08 12:26:22 -04:00
Yuming Zhu
dc0e0303f2
cli: unittest for download_file
2017-08-08 12:26:22 -04:00
Yuming Zhu
25c36a8b56
unittest for cli:download-task
2017-08-08 12:26:22 -04:00
Yuming Zhu
1e77866b35
cli: change download-task to regular curl download
...
also make 301/302 redirect acceptable by download-build & download-task
2017-08-08 12:26:22 -04:00
Mike McLean
2347aee632
runroot: friendlier parsing of path_subs config
2017-08-08 12:15:42 -04:00
Mike McLean
778d466387
unit test: check get_header_fields() with large size
2017-08-08 12:13:06 -04:00
Mike McLean
c2cb0f1184
fix test_krbv_disabled unit test
2017-08-08 11:39:40 -04:00
Mike McLean
0c8d4c8f07
implement caching in _fix_cb_args
2017-08-07 12:41:40 -04:00
Mike McLean
fe7c0b4052
unit test for encode_datetime
2017-08-07 12:41:40 -04:00
Mike McLean
ab928e6196
add unit test for convert_datetime decorator
2017-08-07 12:41:40 -04:00
Mike McLean
e1bc3664ad
unit test: nonsequential path numbers in runroot config
2017-07-31 12:53:03 -04:00
Tomas Kopecek
032e2aaddd
allow some missing path sections in runroot config
...
Fixes: https://pagure.io/koji/issue/527
Before path sections were expected to have zero-based numbering. If some
item was missing, parsing ended there.
Now we are more benevolent and we pick all path\d+ sections and sort
them by ordering number.
2017-07-31 12:53:03 -04:00
Mike McLean
b405701b53
hub: rework match_kojifile() and add a unit test
2017-07-25 16:45:25 -04:00
Tomas Kopecek
64f2467fd0
kojifile component type
2017-07-25 12:37:46 -04:00
Tomas Kopecek
c1257a6a22
simplify SQL test comparison
2017-07-25 12:14:26 -04:00
Tomas Kopecek
6c68b6ab34
CLI block-group command
...
Relates: https://pagure.io/koji/issue/462
2017-07-25 12:14:26 -04:00
Mike McLean
6f987daf5a
unit tests for delete_tag()
2017-07-07 12:21:22 -04:00
Yuming Zhu
2838f7fd9e
getUserPerms should throw GenericError when no user found
2017-07-06 12:06:53 -04:00
Tomas Kopecek
f7bdb7a089
koji_cli name interferes with new library
2017-06-22 12:03:00 -04:00
Yuming Zhu
6fe90a170d
unit tests for cli.load_plugins
2017-06-22 11:59:28 -04:00
Yuming Zhu
0f51a9936f
extend unit tests for PluginTracker
2017-06-22 11:59:28 -04:00
Mike McLean
6419530775
unit tests for PluginTracker
2017-06-22 11:59:28 -04:00
Mike McLean
206a3320e6
unit tests for callback handling
2017-06-22 11:59:28 -04:00
Mike McLean
1a6d8377ed
some unit tests for koji.plugins
2017-06-22 11:59:28 -04:00
Mike McLean
76352b4968
provide a temporary workdir for restart task unit tests
...
Followup to https://pagure.io/koji/pull-request/472
The test cases added in this PR left temporary files
in the checkout dir.
2017-06-22 11:52:13 -04:00
Mike McLean
6eac5ba443
add unit tests for listHosts call
2017-06-21 11:00:08 -04:00
Mike McLean
4391f34106
another get_build_logs unit test
2017-06-21 10:55:13 -04:00
Mike McLean
7243a8eb8f
unit tests for getBuildLogs
2017-06-21 10:55:13 -04:00
Mike McLean
a86703319c
unit tests for timeout option in wait()
2017-06-21 08:39:08 -04:00
Mike McLean
c2764a5caf
units tests for restart related task handlers
2017-06-21 08:39:08 -04:00