From b3cde0ee162b8f0cb67da981311c8f9c16050a62 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sun, 6 Jun 2010 18:13:21 +0200 Subject: 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 --- test/git/async/test_task.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 test/git/async/test_task.py (limited to 'test/git/async/test_task.py') 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") -- cgit v1.2.1