Skip to content

Commit

Permalink
update test_class_task
Browse files Browse the repository at this point in the history
  • Loading branch information
cenkalti committed Jun 6, 2013
1 parent f2c0edd commit 6759e52
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions kuyruk/test/test_kuyruk.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,10 @@ def test_class_task(self):
self.assertTrue(isinstance(tasks.Cat.meow, Task))
self.assertTrue(inspect.ismethod(cat.meow))

cat.meow('Oh my god')
with run_kuyruk() as master:
master.expect('Oh my god')

def test_class_task_fail(self):
cat = tasks.Cat(1, 'Felix')

Expand Down

0 comments on commit 6759e52

Please sign in to comment.