Esempio n. 1
0
File: common.py Progetto: f3at/feat
 def setUp(self):
     log.test_reset()
     self.assert_not_skipped()
     # Scale time if configured
     scale = util.acquireAttribute(self._parents, 'timescale', None)
     if scale is not None:
         time.scale(scale)
     else:
         time.reset()
     self.info("Test running with timescale: %r", time._get_scale())
Esempio n. 2
0
File: common.py Progetto: f3at/feat
 def tearDown(self):
     log.test_reset()
     time.reset()
     signal.reset()