on xenial help sign in
Patch GRID_UNIT_PX as it's used elsewhere too.
commit0acd7aa6f91653767e4d6b49c5fce509bbbbfbac authorChristopher Lee <chris.lee@canonical.com> dateMon 14 Oct 2013, 12:12 (13 years ago) parent861bfba
1 file changed+1
tests/autopilot/unity8/shell/tests/__init__.py+1
tests/autopilot/unity8/shell/tests/__init__.py+1
@@ -169,6 +169,7 @@ class UnityTestCase(AutopilotTestCase):
169169 else:
170170 self.grid_size = int(self.grid_unit_px / scale_divisor)
171171 self._patch_environment("GRID_UNIT_PX", str(self.grid_size))
172+ self.patch_environment("GRID_UNIT_PX", str(self.grid_size))
172173
173174 def _geo_larger_than_display(self, width, height):
174175 should_scale = getattr(self, 'scale_geo', True)