debian-koji/tests/test_www
Mike McLean cd36bb2826 test_pages updates
This fixes issues with test_pages that I found while checking
coverage. The environ dict was recycled across each call in the loop,
but those calls can modify it, leaking data from one pass to another.
Also, the mocking for _getServer was not placing the session in the
environ, which was causing the tests to miss some cases.
2025-06-12 13:24:12 +02:00
..
data test_pages updates 2025-06-12 13:24:12 +02:00
__init__.py add unit test for taskinfo() in koji-web. 2018-03-01 16:01:47 -05:00
loadwebindex.py unit test 2025-02-24 12:17:24 -05:00
test_activesessiondelete.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_archiveinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_archivelist.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_buildinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_buildrootinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_buildtargetcreate.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_buildtargetdelete.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_buildtargetedit.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_buildtargetinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_cancelbuild.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_canceltask.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_channelinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_disablehost.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_enablehost.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_externalrepoinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_fileinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_freetask.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_hostedit.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_hostinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_notificationcreate.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_notificationdelete.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_notificationedit.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_packageinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_pages.py test_pages updates 2025-06-12 13:24:12 +02:00
test_repoinfo.py repo requests web ui 2025-06-12 13:24:12 +02:00
test_resubmittask.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_rpminfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_rpmlist.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_search.py unit test 2025-02-24 12:17:24 -05:00
test_tagcreate.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_tagdelete.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_tagedit.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_tagparent.py drop cgi import from unit tests 2024-10-30 15:27:41 -04:00
test_taskinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_userinfo.py unittest: use unittest.mock instead of mock 2024-10-23 16:35:30 +00:00
test_util.py fix unit tests 2024-09-30 10:46:29 -04:00