summaryrefslogtreecommitdiff
path: root/test/git/odb
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2010-06-05 18:26:26 +0200
committerSebastian Thiel <byronimo@gmail.com>2010-06-05 18:26:26 +0200
commit50e469109eed3a752d9a1b0297f16466ad92f8d2 (patch)
tree80781beb3ee4eee74056079332c722078ce46638 /test/git/odb
parent65c9fe0baa579173afa5a2d463ac198d06ef4993 (diff)
downloadgitpython-50e469109eed3a752d9a1b0297f16466ad92f8d2.tar.gz
Initial pool design added, allowing for lazy channel based evaluation of inter-dependent tasks
Diffstat (limited to 'test/git/odb')
-rw-r--r--test/git/odb/test_channel.py2
-rw-r--r--test/git/odb/test_pool.py10
-rw-r--r--test/git/odb/test_thread.py2
3 files changed, 12 insertions, 2 deletions
diff --git a/test/git/odb/test_channel.py b/test/git/odb/test_channel.py
index 89b26582..d845a6ec 100644
--- a/test/git/odb/test_channel.py
+++ b/test/git/odb/test_channel.py
@@ -4,7 +4,7 @@ from git.odb.channel import *
import time
-class TestDB(TestBase):
+class TestChannels(TestBase):
def test_base(self):
# creating channel yields a write and a read channal
diff --git a/test/git/odb/test_pool.py b/test/git/odb/test_pool.py
new file mode 100644
index 00000000..6656c69d
--- /dev/null
+++ b/test/git/odb/test_pool.py
@@ -0,0 +1,10 @@
+"""Channel testing"""
+from test.testlib import *
+from git.odb.pool import *
+
+import time
+
+class TestThreadPool(TestBase):
+
+ def test_base(self):
+ pass
diff --git a/test/git/odb/test_thread.py b/test/git/odb/test_thread.py
index 3b7f749b..674ecc1d 100644
--- a/test/git/odb/test_thread.py
+++ b/test/git/odb/test_thread.py
@@ -27,7 +27,7 @@ class TestWorker(WorkerThread):
self.kwargs = None
-class TestCase( TestCase ):
+class TestThreads( TestCase ):
@terminate_threads
def test_worker_thread(self):