Commit graph

77 commits

Author SHA1 Message Date
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
Yuming Zhu
ae90e278d0 remove unused code 2016-10-26 13:41:12 -04:00
Yuming Zhu
56e955819b ut: cli - test_running_in_bg 2016-10-26 13:41:12 -04:00
Yuming Zhu
ebf4e88d7d ut: cli - test_build 2016-10-26 13:41:12 -04:00
Yuming Zhu
dcb2d2336e ut: cli - test_upload_progress_callback 2016-10-26 13:41:12 -04:00
Yuming Zhu
90d723b01a ut: cli - test_unique_path 2016-10-26 13:41:12 -04:00
Mike McLean
b02b91ab06 drop commented debug code 2016-10-25 17:16:12 -04:00
Mike McLean
2817de2361 mock session.getAPIVersion in runroot tests
This was resulting in some stray warnings while running tests
2016-10-25 17:16:12 -04:00
Mike McLean
47ec115355 More policy tests -- 100% coverage for policy.py 2016-10-25 17:16:12 -04:00
Yuming Zhu
d36d908795 remove renaming in cli 2016-10-13 00:48:59 -04:00
Yuming Zhu
aede0d752f change handle_remove_pkg to multicall 2016-10-13 00:48:59 -04:00
Yuming Zhu
f5d070384f change handle_block_pkg to multicall 2016-10-13 00:48:59 -04:00
Yuming Zhu
9c984a4f5d ut: cli - test_add_pkg 2016-10-13 00:48:59 -04:00
Yuming Zhu
f54bb557f6 ut: cli - test_rename_channel 2016-10-13 00:48:59 -04:00
Yuming Zhu
096179ac00 ut: cli - test_remove_channel 2016-10-13 00:48:58 -04:00
Yuming Zhu
8e5c80f86b ut: correct typos 2016-10-13 00:48:58 -04:00
Yuming Zhu
a4afb1119f ut: cli - test_remove_host_from_channel 2016-10-13 00:48:58 -04:00
Yuming Zhu
c100b57122 ut: cli - test_add_host_to_channel 2016-10-13 00:48:58 -04:00
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