aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/tests/unit/ci/test_run_tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/tests/unit/ci/test_run_tests.py')
-rw-r--r--xtesting/tests/unit/ci/test_run_tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtesting/tests/unit/ci/test_run_tests.py b/xtesting/tests/unit/ci/test_run_tests.py
index b206a493..e2a2712c 100644
--- a/xtesting/tests/unit/ci/test_run_tests.py
+++ b/xtesting/tests/unit/ci/test_run_tests.py
@@ -100,7 +100,7 @@ class RunTestsTesting(unittest.TestCase):
mock_method.return_value.__iter__ = lambda self: iter(
self.readline, '')
self.runner.source_envfile(envfile)
- mock_method.assert_called_once_with(envfile, 'r')
+ mock_method.assert_called_once_with(envfile, 'r', encoding='utf-8')
self.assertEqual(os.environ[key], value)
def test_source_envfile(self):