Commit graph

57 commits

Author SHA1 Message Date
Yuming Zhu
75c6d2d28b pep8 format for tests/test_cli 2016-10-13 00:48:58 -04:00
Yuming Zhu
63ecac12eb ut: cli - test_edit_host 2016-10-13 00:48:58 -04:00
Yuming Zhu
1814b11aff ut: cli - test_add_host 2016-10-13 00:48:58 -04:00
Yuming Zhu
afe91cd3d3 ut: cli - test_add_group 2016-10-13 00:48:58 -04:00
Yuming Zhu
cab2b2ee69 ut: cli - watch_tasks with KeyboardInterrupt
change display_tasklist_status() to _display_tasklist_status()
               display_task_results() to _display_task_results()
2016-10-13 00:48:48 -04:00
Yuming Zhu
2da05e9e59 ut: cli - test_watch_tasks 2016-10-13 00:40:21 -04:00
Mike McLean
386704a190 rename test spec file 2016-10-13 00:29:39 -04:00
Tomas Kopecek
78d34d7b9d ignore optional deps for rpm < 4.12 2016-10-13 00:29:39 -04:00
Tomas Kopecek
51eca7346e getRPMDeps exposes additional deps
Adding Conflicts, Suggests, Enhances, Supplements and Recommend header fields
in addition to original Requires, Conflicts, Obsoletes and Provides

relates: https://pagure.io/koji/issue/142
2016-10-13 00:29:39 -04:00
Yuming Zhu
766f572503 add generate_out_calls for tests 2016-10-13 00:16:15 -04:00
Mike McLean
9693482ae2 skip some subtests of modules missing 2016-10-13 00:16:15 -04:00
Yuming Zhu
54bf49505c ut: skip the tests for large file comps-example.xml by default 2016-10-13 00:16:15 -04:00
Yuming Zhu
86822c6399 ut: cli - test_import_comps 2016-10-13 00:16:15 -04:00
Mike McLean
e1de395d67 add unit tests for check_NVR[A] functions 2016-10-06 17:40:51 -04:00
Tomas Kopecek
c37effcbd7 remove unused variables/methods 2016-10-04 15:48:54 +02:00
Tomas Kopecek
921258749a removed unused imports 2016-10-04 15:48:54 +02:00
Tomas Kopecek
5f39a832b3 remove asterisk import 2016-10-04 15:48:54 +02:00
Mike McLean
f16f55aa81 unit test for recycle_build 2016-09-28 18:20:09 -04:00
Mike McLean
fffed47252 unit test for add_btype 2016-09-28 18:20:09 -04:00
Mike McLean
2514b3fd3b unit tests for list_btypes 2016-09-28 18:20:09 -04:00
Mike McLean
fa1fa1d401 update unit tests 2016-09-28 18:20:09 -04:00
Mike McLean
31f2ed70ff update test case 2016-09-28 18:20:09 -04:00
Mike McLean
1d215e6355 unit test for new_typed_build 2016-09-28 18:20:09 -04:00
Mike McLean
c58b7c2ea9 unit test for get_build_type 2016-09-28 18:20:09 -04:00
Mike McLean
dab217f424 update runroot cli test case 2016-09-28 18:02:59 -04:00
Tomas Kopecek
68d8ee874d Update cli tests for assign-task command 2016-09-28 14:52:43 -04:00
Mohan Boddu
dd82e9cea2 Remove all bad-whitespaces
Signed-off-by: Mohan Boddu <mboddu@redhat.com>
2016-08-29 14:26:32 -04:00
Mike McLean
0c27f1b1b4 add unit tests for koji.openRemoteFile 2016-08-10 12:06:30 -04:00
Lubomír Sedlář
df875e2619 Test lchmod is called any any order
The test suite should not assume any particular order in which os.lchmod
is invoked.
2016-08-08 18:10:49 -04:00
Ralph Bean
3a1972e8da Get the test suite working again. 2016-08-08 18:02:35 -04:00
Mike McLean
952891ea2f unit test for safer_move() 2016-07-26 16:20:54 -04:00
Matt Prahl
f237fd5100 Adds unit tests for tasks.py
Adds Vagrant support to run unit tests
2016-07-21 17:08:45 -04:00
Sijis Aviles
25afea24f2 Add test cases for delete_build() function 2016-06-09 15:02:50 -04:00
Ralph Bean
e95f142ddf Scrub comments based on feedback from @mikem in #93. 2016-06-09 14:59:20 -04:00
Ralph Bean
7e1c6d4cfb Add tests for the UpdateProcessor. 2016-06-09 14:59:20 -04:00
Ralph Bean
a62e15324c Scrub comments based on feedback from @mikem in #93. 2016-06-09 09:17:34 -04:00
Ralph Bean
6bbc1a312d Add tests for the QueryProcessor. 2016-06-09 09:16:18 -04:00
Ralph Bean
57d7dbf8b8 The beginnings of some cli tests. 2016-06-08 14:53:41 -04:00
Ralph Bean
afb49f0d99 Test for import build and import rpm. 2016-06-08 14:53:03 -04:00
Ralph Bean
9e0af368ee Tests for rpmdiff and check_noarch_rpms. 2016-06-08 14:51:38 -04:00
Ralph Bean
8b013f9802 Add test for importImageInternal. 2016-06-08 14:41:06 -04:00
Ralph Bean
738f3553b5 Test _applyQueryOpts. 2016-06-08 12:21:10 -04:00
Ralph Bean
b12905774f Add a test of the runroot hub plugin. 2016-06-08 12:08:05 -04:00
Ralph Bean
3a75076e97 Tests for the insert processor. 2016-06-08 11:59:40 -04:00
Ralph Bean
5b56ff8de6 Tests for the Host model. 2016-06-07 17:20:39 -04:00
Ralph Bean
a876e9750b Some tests for the base policy stuff. 2016-06-07 17:11:56 -04:00
Sijis Aviles
3f91d4834b Add test for get_upload_path() functio 2016-06-03 02:17:07 -05:00
Sijis Aviles
ab98309a13 Add test for get_verify_class() function 2016-06-02 19:42:10 -05:00
Ralph Bean
0f411d9821 Make HiddenUser into HiddenUsers.
At @mikeb's suggestion in the code review, this makes HiddenUsers plural.

This makes the whole changeset a little more invasive than it was before, so please review carefully.
2016-05-16 13:43:39 -04:00
Ralph Bean
5d6305e4de Remove unused var. 2016-05-16 13:43:39 -04:00