aboutsummaryrefslogtreecommitdiff
path: root/qa/rpc-tests/test_framework/netutil.py
Commit message (Collapse)AuthorAgeFilesLines
* test: Explicitly set encoding to utf8 when opening text filesWladimir J. van der Laan2016-09-291-1/+1
| | | | | | | | | | | | | | 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.
* [qa] Switch to py3MarcoFalke2016-05-051-2/+2
|
* [qa] py2: Unfiddle strings into bytes explicitlyMarcoFalke2016-04-101-5/+6
|
* Merge #7778: [qa] Bug fixes and refactorWladimir J. van der Laan2016-04-031-1/+1
|\ | | | | | | | | | | | | 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)
| * [qa] rpc-tests: Properly use integers, floatsMarcoFalke2016-04-011-1/+1
| |
* | tests: Make proxy_test work on travis servers without IPv6Wladimir J. van der Laan2016-02-091-0/+15
|/
* Bump copyright headers to 2015MarcoFalke2015-12-131-1/+1
|
* [QA] restructure rpc tests directoryJonas Schnelli2015-05-181-0/+139
* move non-test classes to subdir `test-framework`