diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-06 18:13:21 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-06 18:13:21 +0200 |
commit | b3cde0ee162b8f0cb67da981311c8f9c16050a62 (patch) | |
tree | 537615b8d7cfd059b2d7938a1929d9e3199fb374 /test/git/async/test_task.py | |
parent | ec28ad575ce1d7bb6a616ffc404f32bbb1af67b2 (diff) | |
download | gitpython-b3cde0ee162b8f0cb67da981311c8f9c16050a62.tar.gz |
First step of testing the pool - tasks have been separated into a new module including own tests, their design improved to prepare them for some specifics that would be needed for multiprocessing support
Diffstat (limited to 'test/git/async/test_task.py')
-rw-r--r-- | test/git/async/test_task.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/git/async/test_task.py b/test/git/async/test_task.py new file mode 100644 index 00000000..91ac4dc3 --- /dev/null +++ b/test/git/async/test_task.py @@ -0,0 +1,12 @@ +"""Channel testing""" +from test.testlib import * +from git.async.task import * + +import time + +class TestTask(TestBase): + + max_threads = cpu_count() + + def test_iterator_task(self): + self.fail("test iterator task") |