diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 11:52:24 +0200 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2010-06-11 14:20:25 +0200 |
commit | 583e6a25b0d891a2f531a81029f2bac0c237cbf9 (patch) | |
tree | 09025a39d44fa2a28a6533a0f969316652f974bc /test/git/async/test_channel.py | |
parent | 01eac1a959c1fa5894a86bf11e6b92f96762bdd8 (diff) | |
parent | 6d1212e8c412b0b4802bc1080d38d54907db879d (diff) | |
download | gitpython-583e6a25b0d891a2f531a81029f2bac0c237cbf9.tar.gz |
Merge branch 'channel' into taskdep
Diffstat (limited to 'test/git/async/test_channel.py')
-rw-r--r-- | test/git/async/test_channel.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/git/async/test_channel.py b/test/git/async/test_channel.py index 215081cd..a24c7c91 100644 --- a/test/git/async/test_channel.py +++ b/test/git/async/test_channel.py @@ -9,8 +9,8 @@ class TestChannels(TestBase): def test_base(self): # creating channel yields a write and a read channal wc, rc = mkchannel() - assert isinstance(wc, WChannel) # default args - assert isinstance(rc, RChannel) + assert isinstance(wc, Writer) # default args + assert isinstance(rc, Reader) # TEST UNLIMITED SIZE CHANNEL - writing+reading is FIFO @@ -46,7 +46,7 @@ class TestChannels(TestBase): # test callback channels - wc, rc = mkchannel(wctype = CallbackWChannel, rctype = CallbackRChannel) + wc, rc = mkchannel(wtype = CallbackWriter, rtype = CallbackReader) cb = [0, 0] # set slots to one if called def pre_write(item): |