aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework/netutil.py
AgeCommit message (Collapse)Author
2016-10-03test: Explicitly set encoding to utf8 when opening text filesWladimir J. van der Laan
These are text files but their encoding does not depend on the locale. Not all of them require utf8 but it is better to fix it at something to remove potential unpredictability. This is necessary on FreeBSD where no locale is set by default, and apparently Python defaults not only the terminal encoding to the locale but that of every text file. So without LOCALE environment it defaults text file encoding to ASCII. This causes problems with e.g. `bitcoin.conf`. Luckily the locale doesn't affect the default encoding for str.encode() and bytes.decode() on Python 3, so this is the only change necessary. Github-Pull: #8840 Rebased-From: 30930e847e2483c7c8163cc581b392bc288250e9
2016-05-05[qa] Switch to py3MarcoFalke
2016-04-10[qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke
2016-04-03Merge #7778: [qa] Bug fixes and refactorWladimir J. van der Laan
4444806 [qa] mininode: Combine struct.pack format strings (MarcoFalke) faaa3c9 [qa] mininode: Catch exceptions in got_data (MarcoFalke) fa2cea1 [qa] rpc-tests: Properly use integers, floats (MarcoFalke) fa524d9 [qa] Use python2/3 syntax (MarcoFalke)
2016-04-01[qa] rpc-tests: Properly use integers, floatsMarcoFalke
2016-02-09tests: Make proxy_test work on travis servers without IPv6Wladimir J. van der Laan
2015-12-13Bump copyright headers to 2015MarcoFalke
2015-05-18[QA] restructure rpc tests directoryJonas Schnelli
* move non-test classes to subdir `test-framework`