summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2021-01-26 11:54:54 +0000
committerGerrit Code Review <review@openstack.org>2021-01-26 11:54:54 +0000
commit8031118c631d883b8dd33c8c6292314abcbfb783 (patch)
tree4aa0fc9045037d8fe4cfe8860867b67b7c08498b /tests
parent36cb21f61f8d4a522b058298ceddd58a89e0d085 (diff)
parent335dff712488e23be8f0a280cba4c584c6c54066 (diff)
downloadkolla-8031118c631d883b8dd33c8c6292314abcbfb783.tar.gz
kolla-8031118c631d883b8dd33c8c6292314abcbfb783.zip
Merge "Remove two missed unicode flags"
Diffstat (limited to 'tests')
-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)