Commit graph

2753 commits

Author SHA1 Message Date
Mike McLean
c2d2e05342 PR#434 devtools: fakehub and fakeweb
Merges #434
https://pagure.io/koji/pull-request/434
2017-06-02 18:25:49 -04:00
Tomas Kopecek
5f2342de72 python3 compatibility 2017-06-02 18:25:11 -04:00
Mike McLean
5f5e6cdbb6 typo 2017-06-02 18:25:11 -04:00
Mike McLean
b9c2a3f02f fallback to default config if local fakehub/fakeweb config missing 2017-06-02 18:25:11 -04:00
Mike McLean
1a3ac059a2 devtools sample configs 2017-06-02 18:25:11 -04:00
Mike McLean
938a53a32c fakehub devel tool 2017-06-02 18:25:11 -04:00
Mike McLean
93007baedf cleanup 2017-06-02 18:25:11 -04:00
Mike McLean
952c11477b fakeweb: handle 404 for koji-static. fix mimetypes 2017-06-02 18:25:11 -04:00
Mike McLean
1f9543123c fakeweb tool for devel 2017-06-02 18:25:11 -04:00
Mike McLean
b5d90ffbe2 PR#447 python3 docs update
Merges #447
https://pagure.io/koji/pull-request/447
2017-06-02 17:49:50 -04:00
Mike McLean
d45e89b43d adjust docs wording 2017-06-02 17:49:23 -04:00
Tomas Kopecek
fbe7b06f59 python3 docs update 2017-06-02 10:48:24 +02:00
Mike McLean
4f4639ec93 PR#417 Python3 support for CLI + XMLRPC client
Merges #417
https://pagure.io/koji/pull-request/417
2017-06-01 12:58:41 -04:00
Tomas Kopecek
9dcc0a4032 spec update 2017-06-01 09:39:25 +02:00
Mike McLean
88ea9926ab use coverage directly. adjust coverage config for py3 tests 2017-06-01 09:39:25 +02:00
Mike McLean
0661e0e3eb Work around coverage bug in py3 on Fedora 2017-06-01 09:39:25 +02:00
Tomas Kopecek
95f012b27d fixEncoding tests 2017-06-01 09:39:25 +02:00
Mike McLean
b2bfc28c86 don't warn at load time if krbV module is missing 2017-06-01 09:39:25 +02:00
Mike McLean
9508bb164c no hub plugins changes either 2017-06-01 09:39:25 +02:00
Mike McLean
cf3dd9040d no hub test changes for now 2017-06-01 09:39:25 +02:00
Mike McLean
6092f9e2ae coverage for py3 unit tests 2017-06-01 09:39:25 +02:00
Mike McLean
5eea74aa71 use python3 -m nose 2017-06-01 09:39:25 +02:00
Mike McLean
01a0894ee5 test_lib_py2only dir 2017-06-01 09:39:25 +02:00
Mike McLean
efe59699c6 fix some test constants 2017-06-01 09:39:25 +02:00
Mike McLean
9132b1106e avoid test_compatrequests on py3 2017-06-01 09:39:25 +02:00
Mike McLean
560dddd22f use_old_ssl is only supported on python2 2017-06-01 09:39:25 +02:00
Mike McLean
96532de199 no need to port compatrequests or old ssl code 2017-06-01 09:39:24 +02:00
Mike McLean
c976c3f2b2 test3 Makefile target 2017-06-01 09:39:24 +02:00
Mike McLean
c4a48efd83 move lib tests into subdir 2017-06-01 09:39:24 +02:00
Mike McLean
efa92224ad fix mocking of open() in utils test case 2017-06-01 09:39:24 +02:00
Mike McLean
08d7abd2ab use bytes for finding \0 in file data 2017-06-01 09:39:24 +02:00
Mike McLean
ff6fc4aa77 header magic is bytes 2017-06-01 09:39:24 +02:00
Mike McLean
a47eb50a34 __ord -> _ord 2017-06-01 09:39:24 +02:00
Tomas Kopecek
7d5358a336 fix python2 test 2017-06-01 09:39:24 +02:00
Tomas Kopecek
e9a536ae07 str/bytes in rpm headers 2017-06-01 09:39:24 +02:00
Tomas Kopecek
ed6800d613 bytes in rpm headers 2017-06-01 09:39:24 +02:00
Tomas Kopecek
709cf93b75 fix adler32 iterations 2017-06-01 09:39:24 +02:00
Tomas Kopecek
2a233d519f update requires for python-six 2017-06-01 09:39:24 +02:00
Tomas Kopecek
c0fccab2b7 correct sort() usage 2017-06-01 09:39:24 +02:00
Tomas Kopecek
d625c0aa4d remove changes not relevant to cli 2017-06-01 09:39:24 +02:00
Tomas Kopecek
d2ab86584a explicit unicode in cli 2017-06-01 09:39:24 +02:00
Tomas Kopecek
6948551318 read json data in text-mode instead of binary 2017-06-01 09:39:23 +02:00
Tomas Kopecek
449390cff9 cli-related test fixes 2017-06-01 09:39:23 +02:00
Tomas Kopecek
644792ff76 replace urlgrabber with pycurl 2017-06-01 09:39:23 +02:00
Tomas Kopecek
b4c7433cc4 StringIO to six 2017-06-01 09:39:23 +02:00
Tomas Kopecek
cab2c7b4ea return rpm headers as string instead of bytes 2017-06-01 09:39:23 +02:00
Tomas Kopecek
f8f373e2b6 use sorted(archs) to not confuse tests 2017-06-01 09:39:23 +02:00
Tomas Kopecek
0eebe53b27 Exception.message is deprecated 2017-06-01 09:39:23 +02:00
Tomas Kopecek
119ecf2122 propagate exception correctly to outer scope 2017-06-01 09:39:23 +02:00
Tomas Kopecek
6d5dc301d3 don't use krbV under python3 2017-06-01 09:39:23 +02:00