aboutsummaryrefslogtreecommitdiff
path: root/test/functional/feature_uacomment.py
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-08-05 16:38:25 +0000
committerChun Kuan Lee <ken2812221@gmail.com>2018-09-30 15:08:16 +0800
commit380c843217139b180457889699c65b37ae3b4a87 (patch)
tree14f563548a07e34860364c8046e83ef8671730a9 /test/functional/feature_uacomment.py
parent9b8bb5f1402a07736be7d649c2253253672d04e1 (diff)
downloadbitcoin-380c843217139b180457889699c65b37ae3b4a87.tar.xz
utils: Convert Windows args to utf-8 string
Diffstat (limited to 'test/functional/feature_uacomment.py')
-rwxr-xr-xtest/functional/feature_uacomment.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/feature_uacomment.py b/test/functional/feature_uacomment.py
index 691a39b825..fb4ad21359 100755
--- a/test/functional/feature_uacomment.py
+++ b/test/functional/feature_uacomment.py
@@ -31,7 +31,7 @@ class UacommentTest(BitcoinTestFramework):
self.nodes[0].assert_start_raises_init_error(["-uacomment=" + 'a' * 256], expected, match=ErrorMatch.FULL_REGEX)
self.log.info("test -uacomment unsafe characters")
- for unsafe_char in ['/', ':', '(', ')']:
+ for unsafe_char in ['/', ':', '(', ')', '₿', '🏃']:
expected = "Error: User Agent comment \(" + re.escape(unsafe_char) + "\) contains unsafe characters."
self.nodes[0].assert_start_raises_init_error(["-uacomment=" + unsafe_char], expected, match=ErrorMatch.FULL_REGEX)