Commit graph

1085 commits

Author SHA1 Message Date
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
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