Commit graph

32 commits

Author SHA1 Message Date
Yuming Zhu
87409499a3 draft builds 2024-01-05 10:00:29 +00:00
Tomas Kopecek
2daa71614e fix tests according to pytests warnings 2022-10-24 10:40:50 +02:00
Jana Cupova
c310d6692d Pytest instead of nose in unittest
Fixes: https://pagure.io/koji/issue/3140
2021-12-06 12:17:29 +01:00
Yu Ming Zhu
56dfae8b4e fix test_delay_times
relates: #2978
2021-08-12 03:35:06 +08:00
Tomas Kopecek
96ae0ecef5 explicit encoding for text file operations
Fixes: https://pagure.io/koji/issue/2641
2021-01-26 13:36:25 +01:00
Tomas Kopecek
b030b46f74 remove unittest2 2020-10-06 15:00:23 +02:00
Tomas Kopecek
c754713818 fix tests 2020-08-26 09:26:00 +02:00
Yu Ming Zhu
8d4a5c7129 kojid: use binary msg for python3 in *Notification tasks
fixes: #1882
2020-01-02 10:44:20 +01:00
Tomas Kopecek
6fd33bfd1f use LANG=C for running tests comparing human-readable output 2019-06-26 15:58:48 -04:00
Mike McLean
431ee1688a fix unit test 2019-04-09 15:40:00 -04:00
Tomas Kopecek
eeeeb3ab78 skip fixEncoding for py3 2019-03-04 10:13:51 -05:00
Mike McLean
23320221f5 remove old commented line 2019-02-19 17:29:25 -05:00
Tomas Kopecek
99e72ead68 Fix unit tests 2019-02-19 17:29:25 -05:00
Mike McLean
cc7afa1b17 more tests and another fix 2018-12-03 15:54:07 -05:00
Mike McLean
beac7899ec partial unit test with minor fix 2018-12-03 15:54:07 -05:00
Yuming Zhu
d70f22ee1b fix timezone in test_list_tagged 2018-10-18 14:37:35 +02:00
Tomas Kopecek
bd649d2723 prioritize unittest2
Make all imports consistent with
https://pagure.io/koji/issue/830

Fixes: https://pagure.io/koji/issue/1001
2018-08-16 09:03:09 -04:00
Jana Cupova
9f9a72f4d6 Fix code review 2018-08-08 11:06:41 -04:00
Jana Cupova
8173ec7bac Change to one test with variants 2018-08-08 11:06:41 -04:00
Jana Cupova
4f2a632c98 Add unit tests for check volume id substitution list 2018-08-08 11:06:41 -04:00
Tomas Kopecek
c68396c059 Use unittest2 for rhel6 compatibility
Fixes: https://pagure.io/koji/issue/830
2018-06-07 09:39:39 -04:00
Mike McLean
44a17e5dfe fix unit test 2017-11-09 17:40:52 -05:00
Mike McLean
40bf35c0f1 move tests to correct subdirs 2017-11-09 17:40:52 -05:00
Tomas Kopecek
379ec8ae63 python-modernize -f lib2to3.fixes.file . -w 2017-10-31 16:05:16 +01:00
Yuming Zhu
659a63a167 set timezone to US/Eastern when test_build_notification executing
following PR#628
2017-10-12 10:40:47 -04:00
Mike McLean
00e059c0c0 unit test for buildNotification task handler 2017-10-11 16:36:40 -04:00
Tomas Kopecek
8962c26080 python-modernize -f libmodernize.fixes.fix_import 2017-06-01 09:39:23 +02:00
Tomas Kopecek
73356b50e5 fix relative imports 2017-06-01 09:39:21 +02:00
Tomas Kopecek
7f946b37be python-modernize -f libmodernize.fixes.fix_xrange_six 2017-06-01 09:39:21 +02: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