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
e6e618d0bb
fix tests
2022-12-08 13:37:32 +01:00
Tomas Kopecek
51358cfd09
simplify py3 tests
2020-06-18 15:41:35 +02:00
Mike McLean
208c6433d7
fix unit tests for listHosts
2019-02-21 09:34:47 -05:00
Tomas Kopecek
b6ff16b624
db ordering fixes
2019-02-05 15:49:54 +01: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
b50479abb0
host_channels history
2018-04-30 11:35:25 -04:00
Tomas Kopecek
dfd097b440
add history to edit_host
...
Hosts now have history.
host table was split to host (containing ephemereal and non-editable
data (load, activity, name, user_id)) and host_config containing
data changeable by admins (archs, capacity, ...). This table is
versioned and searchable via queryHistory.
Fixes: https://pagure.io/koji/issue/638
2018-04-30 11:35:25 -04:00
Mike McLean
6eac5ba443
add unit tests for listHosts call
2017-06-21 11:00:08 -04:00