From c0a7f516714bc394c06eacd5be5a12e86411248e Mon Sep 17 00:00:00 2001 From: Matthew Thode Date: Mon, 9 Dec 2013 12:49:03 -0600 Subject: [PATCH] tests depend on the default encoding being utf8 So we set the utils default encoding to be utf8 --- test/TestUtils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/TestUtils.py b/test/TestUtils.py index e6c6c4ac1f3..fbdbe0f405d 100644 --- a/test/TestUtils.py +++ b/test/TestUtils.py @@ -10,6 +10,10 @@ from nose.plugins.skip import SkipTest import ansible.utils import ansible.utils.template as template2 +import sys +reload(sys) +sys.setdefaultencoding("utf8") + class TestUtils(unittest.TestCase): #####################################