Yuming Zhu
|
ca05418fb5
|
unittest: use unittest.mock instead of mock
because the absence of unittest.mock on python2.7, we still fallback to
mock
|
2024-10-23 16:35:30 +00:00 |
|
Tomas Kopecek
|
b0e91e378c
|
Move db/auth to kojihub module
Related: https://pagure.io/koji/issue/3666
|
2023-03-01 11:46:24 +01:00 |
|
Tomas Kopecek
|
e6e618d0bb
|
fix tests
|
2022-12-08 13:37:32 +01:00 |
|
Jana Cupova
|
1cfe6538db
|
Move database classes and functions from kojihub.py to koji/db.py
Move QueryProcessor, InsertProcessor, UpdateProcessor,
BulkInsertProcessor, _applyQueryOpts, get_event, _dml,
_fetchMulti, _fetchSingle, _singleValue, _multiRow, _singleRow
Update koji-sweep-db script to DB Processors
Fixes: https://pagure.io/koji/issue/3466
|
2022-10-11 14:29:05 +02:00 |
|
Tomas Kopecek
|
fb50dcc2ad
|
fix tests
|
2022-02-07 09:58:01 +01: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
|
51358cfd09
|
simplify py3 tests
|
2020-06-18 15:41:35 +02:00 |
|
Mike McLean
|
727de7d953
|
support batch operation in BulkInsertProcessor
|
2019-11-19 12:01:14 -05:00 |
|
Tomas Kopecek
|
6de0700ac8
|
use BulkInsertProcessor for hub mass inserts
Fixes: https://pagure.io/koji/issue/1712
|
2019-11-19 12:01:14 -05:00 |
|
Tomas Kopecek
|
bf5da96053
|
Fix lookup_name usage + tests
Fixes: https://pagure.io/koji/issue/1632
|
2019-08-28 15:46:02 +02:00 |
|
Tomas Kopecek
|
7f6b717eb6
|
python-modernize -f libmodernize.fixes.fix_import
|
2018-07-11 17:37:39 -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 |
|
Tomas Kopecek
|
379ec8ae63
|
python-modernize -f lib2to3.fixes.file . -w
|
2017-10-31 16:05:16 +01:00 |
|
Mike McLean
|
d0902f95ed
|
mock volume data in image/maven import tests
|
2017-10-06 17:16:03 -04:00 |
|
Mike McLean
|
92bb782581
|
fix up test_complete_image_build.py
|
2017-10-06 17:16:03 -04:00 |
|
Mike McLean
|
3a638314d8
|
maven/image import tests from first branch
|
2017-10-06 17:16:03 -04:00 |
|