コード例 #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
ファイル: test.py プロジェクト: i-scream/pystatgrab
 def setUp(self):
     statgrab.init()
コード例 #6
0
ファイル: test.py プロジェクト: i-scream/pystatgrab
 def test_multi_startup(self):
     # We should be able to do this repeatedly.
     for i in range(10):
         statgrab.init()
         statgrab.shutdown()
コード例 #7
0
ファイル: test.py プロジェクト: i-scream/pystatgrab
 def test_ignore_errors(self):
     for v in (True, False):
         statgrab.init(v)
         statgrab.shutdown()
コード例 #8
0
ファイル: test.py プロジェクト: i-scream/pystatgrab
 def test_one_startup(self):
     statgrab.init()
     statgrab.shutdown()