diff options
Diffstat (limited to 'test/git/async/test_channel.py')
-rw-r--r-- | test/git/async/test_channel.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/test/git/async/test_channel.py b/test/git/async/test_channel.py index 32458f31..444a076a 100644 --- a/test/git/async/test_channel.py +++ b/test/git/async/test_channel.py @@ -8,12 +8,10 @@ class TestChannels(TestBase): def test_base(self): # creating channel yields a write and a read channal - wc, rc = Channel() - assert isinstance(wc, WChannel) + wc, rc = mkchannel() + assert isinstance(wc, WChannel) # default args assert isinstance(rc, RChannel) - # everything else fails - self.failUnlessRaises(ValueError, Channel, 1, "too many args") # TEST UNLIMITED SIZE CHANNEL - writing+reading is FIFO item = 1 |