aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2021-01-25 15:58:59 +0100
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2021-01-25 15:58:59 +0100
commit335dff712488e23be8f0a280cba4c584c6c54066 (patch)
treee3844eaa0eb2a23b745f01d9932fac11603cb9e2
parent62b37f04539f861b6b40783a4d8ea5f1dc0197d7 (diff)
downloadkolla-335dff712488e23be8f0a280cba4c584c6c54066.tar.gz
kolla-335dff712488e23be8f0a280cba4c584c6c54066.zip
Remove two missed unicode flags
Change-Id: I799bf8edfef6ff68382d651dca6de96fa80ed733
-rw-r--r--tests/test_set_config.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_set_config.py b/tests/test_set_config.py
index 1f49edc3c..115ccb2cd 100644
--- a/tests/test_set_config.py
+++ b/tests/test_set_config.py
@@ -55,7 +55,7 @@ class LoadFromFile(base.BaseTestCase):
mock.call().__exit__(None, None, None),
mock.call('/run_command', 'w+'),
mock.call().__enter__(),
- mock.call().write(u'/bin/true'),
+ mock.call().write('/bin/true'),
mock.call().__exit__(None, None, None)], mo.mock_calls)
@@ -72,7 +72,7 @@ class LoadFromEnv(base.BaseTestCase):
set_configs.copy_config(config)
self.assertEqual([mock.call('/run_command', 'w+'),
mock.call().__enter__(),
- mock.call().write(u'/bin/true'),
+ mock.call().write('/bin/true'),
mock.call().__exit__(None, None, None)],
mo.mock_calls)