Commit graph

2731 commits

Author SHA1 Message Date
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
Tomas Kopecek
ce9b538e43 fix compatrequests 2017-06-01 09:39:23 +02:00
Tomas Kopecek
7ff24d717d fix session 2017-06-01 09:39:23 +02:00
Tomas Kopecek
7d277a8ad5 urllib changes 2017-06-01 09:39:23 +02:00
Tomas Kopecek
0c0cf92b4c PythonImportError 2017-06-01 09:39:23 +02:00
Tomas Kopecek
0ac44b5374 fix relative import 2017-06-01 09:39:23 +02:00
Tomas Kopecek
2c8a4d332e python-modernize -f libmodernize.fixes.fix_int_long_tuple 2017-06-01 09:39:23 +02:00
Tomas Kopecek
5abd334e85 python-modernize -f libmodernize.fixes.fix_map 2017-06-01 09:39:23 +02:00
Tomas Kopecek
8962c26080 python-modernize -f libmodernize.fixes.fix_import 2017-06-01 09:39:23 +02:00
Tomas Kopecek
62288597f1 python-modernize -f libmodernize.fixes.fix_filter 2017-06-01 09:39:22 +02:00
Tomas Kopecek
a4a1536a03 python-modernize -f libmodernize.fixes.fix_file 2017-06-01 09:39:22 +02:00
Tomas Kopecek
68bf19c739 python-modernize -f libmodernize.fixes.fix_dict_six 2017-06-01 09:39:22 +02:00
Tomas Kopecek
8567044a20 python-modernize -f libmodernize.fixes.fix_classic_division 2017-06-01 09:39:22 +02:00
Tomas Kopecek
6a0a5a232b python-modernize -f libmodernize.fixes.fix_basestring 2017-06-01 09:39:22 +02:00
Tomas Kopecek
c87cab8f54 python-modernize -f lib2to3.fixes.fix_tuple_params 2017-06-01 09:39:22 +02:00
Tomas Kopecek
e8cf04f6ad python-modernize -f lib2to3.fixes.fix_paren 2017-06-01 09:39:22 +02:00
Tomas Kopecek
f6e5bd11f3 python-modernize -f lib2to3.fixes.fix_numliterals 2017-06-01 09:39:22 +02:00
Tomas Kopecek
e071f793ee python-modernize -f lib2to3.fixes.fix_methodattrs 2017-06-01 09:39:22 +02:00
Tomas Kopecek
67af38a1fe python-modernize -f lib2to3.fixes.fix_funcattrs 2017-06-01 09:39:22 +02:00
Tomas Kopecek
1220008f8f python-modernize -f lib2to3.fixes.fix_except 2017-06-01 09:39:22 +02:00
Tomas Kopecek
b1da150c01 python-modernize -f libmodernize.fixes.fix_imports_six 2017-06-01 09:39:21 +02:00
Tomas Kopecek
73356b50e5 fix relative imports 2017-06-01 09:39:21 +02:00
Tomas Kopecek
c579e36489 python-modernize -f libmodernize.fixes.fix_unicode_type 2017-06-01 09:39:21 +02:00