diff --git a/src/sugar3/test/unittest.py b/src/sugar3/test/unittest.py index 9d70b967..ea891064 100644 --- a/src/sugar3/test/unittest.py +++ b/src/sugar3/test/unittest.py @@ -35,10 +35,14 @@ class UITestCase(unittest.TestCase): self._orig_level = logger.getEffectiveLevel() logger.setLevel(logging.DEBUG) + os.environ["AT_SPI_CLIENT"] = "yes" + def tearDown(self): logger = logging.getLogger() logger.setLevel(self._orig_level) + del os.environ["AT_SPI_CLIENT"] + @contextmanager def run_view(self, name): view_path = os.path.join("views", "%s.py" % name)