Пример #1
0
 def setUp(self):
     statgrab.init()
Пример #2
0
 def test_ignore_errors(self):
     for v in (True, False):
         statgrab.init(v)
         statgrab.shutdown()
Пример #3
0
 def test_multi_startup(self):
     # We should be able to do this repeatedly.
     for i in range(10):
         statgrab.init()
         statgrab.shutdown()
Пример #4
0
 def test_one_startup(self):
     statgrab.init()
     statgrab.shutdown()
Пример #5
0
 def setUp(self):
     statgrab.init()
Пример #6
0
 def test_multi_startup(self):
     # We should be able to do this repeatedly.
     for i in range(10):
         statgrab.init()
         statgrab.shutdown()
Пример #7
0
 def test_ignore_errors(self):
     for v in (True, False):
         statgrab.init(v)
         statgrab.shutdown()
Пример #8
0
 def test_one_startup(self):
     statgrab.init()
     statgrab.shutdown()