on xenial help sign in
use value_string instead of format string.
d1263aaYing-Chun Liu
tests/autopilot/unity8/fixture_setup.py+1−1
@@ -93,6 +93,6 @@ class DisplayRotationLock(fixtures.Fixture):
93 command = [
93 command = [
94 'gsettings', 'set',
94 'gsettings', 'set',
95 'com.ubuntu.touch.system',
95 'com.ubuntu.touch.system',
96− 'rotation-lock', '{}'.format(value_string)
96+ 'rotation-lock', value_string
97 ]
97 ]
98 subprocess.check_output(command)
98 subprocess.check_output(command)