Merge branch 'master' of github.com:sugarlabs/sugar-toolkit-gtk3

This commit is contained in:
Pootle daemon 2013-06-19 00:32:36 -04:00
commit 63f2724206

View File

@ -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)