diff options
author | Josh Blum | 2013-05-11 16:20:08 -0700 |
---|---|---|
committer | Josh Blum | 2013-05-11 16:20:08 -0700 |
commit | 4e210ade63d800b1a8671999f19019abd3c2ae03 (patch) | |
tree | b23f026eb0ba161ebf8ae59087f5c51031946bec /tests/thread_pool_test.py | |
parent | 476e5e7f8c949251436646dfd155cdd4430c37f2 (diff) | |
download | sandhi-4e210ade63d800b1a8671999f19019abd3c2ae03.tar.gz sandhi-4e210ade63d800b1a8671999f19019abd3c2ae03.tar.bz2 sandhi-4e210ade63d800b1a8671999f19019abd3c2ae03.zip |
gras: created new test_thread_priority api call
Diffstat (limited to 'tests/thread_pool_test.py')
-rw-r--r-- | tests/thread_pool_test.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/thread_pool_test.py b/tests/thread_pool_test.py index 2c9dcad..0f8b513 100644 --- a/tests/thread_pool_test.py +++ b/tests/thread_pool_test.py @@ -19,5 +19,9 @@ class ThreadPoolTest(unittest.TestCase): tp = gras.ThreadPool(c) tp.set_active() + def test_thread_priority(self): + #here we assume prio 0.0 (default) can always be set + self.assertTrue(gras.ThreadPool.test_thread_priority(0.0)) + if __name__ == '__main__': unittest.main() |