From 4e210ade63d800b1a8671999f19019abd3c2ae03 Mon Sep 17 00:00:00 2001 From: Josh Blum Date: Sat, 11 May 2013 16:20:08 -0700 Subject: gras: created new test_thread_priority api call --- tests/thread_pool_test.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/thread_pool_test.py') 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() -- cgit