on xenial help sign in
Update i_c so it's not setting the grid_unit_px on the device.
commit8378f4dd741bd4eb9a9ae133357e1fe23899777a authorChristopher Lee <chris.lee@canonical.com> dateTue 23 Jul 2013, 00:09 (13 years ago) parent1b61129
2 files changed+3−3
tests/autopilot/unity8/indicators_client/tests/__init__.py+2−2 tests/autopilot/unity8/indicators_client/tests/test_battery.py+1−1
tests/autopilot/unity8/indicators_client/tests/__init__.py+2−2
@@ -31,11 +31,11 @@ class IndicatorsTestCase(AutopilotTestCase):
3131
3232 if model() == 'Desktop':
3333 scenarios = [
34− ('with mouse', dict(input_device_class=Mouse)),
34+ ('with mouse', dict(input_device_class=Mouse, grid_unit="12")),
3535 ]
3636 else:
3737 scenarios = [
38− ('with touch', dict(input_device_class=Touch)),
38+ ('with touch', dict(input_device_class=Touch, grid_unit="0")),
3939 ]
4040
4141 def setUp(self, geometry, grid_size):
tests/autopilot/unity8/indicators_client/tests/test_battery.py+1−1
@@ -17,7 +17,7 @@ import math
1717
1818class TestDisplayMenus(IndicatorsTestCase):
1919 def setUp(self):
20− super(TestDisplayMenus, self).setUp("400x800", "12")
20+ super(TestDisplayMenus, self).setUp("400x800", self.grid_unit)
2121
2222 # This opens the messaging menu so you don't have to do that in
2323 # every test case