Exemplo n.º 1
0
 def tearDown(self):
     try:
         try:
             global_env = self.global_env
         except AttributeError:
             pass
         else:
             self.global_env.reset_db()
         self.global_env = self._env = None
     finally:
         ChromeTestCase.tearDown(self)
Exemplo n.º 2
0
 def tearDown(self):
     try:
         try:
             global_env = self.global_env
         except AttributeError:
             pass
         else:
             self.global_env.reset_db()
         self.global_env = self._env = None
     finally:
         ChromeTestCase.tearDown(self)
Exemplo n.º 3
0
 def setUp(self):
     # Instantiate environment stub before clearing ComponentMeta._registry
     self.env
     ChromeTestCase.setUp(self)
Exemplo n.º 4
0
 def setUp(self):
     # Instantiate environment stub before clearing ComponentMeta._registry
     self.env
     ChromeTestCase.setUp(self)