on xenial help sign in
Update i_c so it's not setting the grid_unit_px on the device.
8378f4dChristopher Lee
tests/autopilot/unity8/indicators_client/tests/__init__.py+2−2
@@ -31,11 +31,11 @@ class IndicatorsTestCase(AutopilotTestCase):
31
31
32 if model() == 'Desktop':
32 if model() == 'Desktop':
33 scenarios = [
33 scenarios = [
34− ('with mouse', dict(input_device_class=Mouse)),
34+ ('with mouse', dict(input_device_class=Mouse, grid_unit="12")),
35 ]
35 ]
36 else:
36 else:
37 scenarios = [
37 scenarios = [
38− ('with touch', dict(input_device_class=Touch)),
38+ ('with touch', dict(input_device_class=Touch, grid_unit="0")),
39 ]
39 ]
40
40
41 def setUp(self, geometry, grid_size):
41 def setUp(self, geometry, grid_size):
tests/autopilot/unity8/indicators_client/tests/test_battery.py+1−1
@@ -17,7 +17,7 @@ import math
17
17
18class TestDisplayMenus(IndicatorsTestCase):
18class TestDisplayMenus(IndicatorsTestCase):
19 def setUp(self):
19 def setUp(self):
20− super(TestDisplayMenus, self).setUp("400x800", "12")
20+ super(TestDisplayMenus, self).setUp("400x800", self.grid_unit)
21
21
22 # This opens the messaging menu so you don't have to do that in
22 # This opens the messaging menu so you don't have to do that in
23 # every test case
23 # every test case