Remove two missed unicode flags

Change-Id: I799bf8edfef6ff68382d651dca6de96fa80ed733
This commit is contained in:
Radosław Piliszek 2021-01-25 15:58:59 +01:00
parent 62b37f0453
commit 335dff7124

View File

@ -55,7 +55,7 @@ class LoadFromFile(base.BaseTestCase):
mock.call().__exit__(None, None, None), mock.call().__exit__(None, None, None),
mock.call('/run_command', 'w+'), mock.call('/run_command', 'w+'),
mock.call().__enter__(), mock.call().__enter__(),
mock.call().write(u'/bin/true'), mock.call().write('/bin/true'),
mock.call().__exit__(None, None, None)], mo.mock_calls) mock.call().__exit__(None, None, None)], mo.mock_calls)
@ -72,7 +72,7 @@ class LoadFromEnv(base.BaseTestCase):
set_configs.copy_config(config) set_configs.copy_config(config)
self.assertEqual([mock.call('/run_command', 'w+'), self.assertEqual([mock.call('/run_command', 'w+'),
mock.call().__enter__(), mock.call().__enter__(),
mock.call().write(u'/bin/true'), mock.call().write('/bin/true'),
mock.call().__exit__(None, None, None)], mock.call().__exit__(None, None, None)],
mo.mock_calls) mo.mock_calls)