Commit Graph

11 Commits

Author SHA1 Message Date
Vincent Driessen a5dff6659c Replace the Calculator fixture by a Number fixture.
This makes the tests a little more realistic, since I want to add a test
for class methods.
2013-04-19 21:18:25 +02:00
Vincent Driessen 372de4b45a Implement the get_current_job() function.
This fixes #125.
2012-09-02 22:38:46 +02:00
Selwin Ong a4f1de358f Raise a StopException when Control+C is pressed. 2012-07-26 09:36:50 +07:00
Vincent Driessen d697ddb93a Resolve connections early.
Fixes #101.
2012-07-24 12:37:59 +02:00
Vincent Driessen c7225ba257 Minor bug in test case. 2012-07-24 12:30:37 +02:00
Selwin Ong 8c3292d35b Make "queue" argument in job decorator required.
job decorator now uses Queue's "enqueue_call" method.
2012-07-24 16:03:49 +07:00
Selwin Ong bdc1af28d1 Added a job decorator. 2012-07-23 13:25:31 +07:00
Omar Khan 03bd49511d Allow instance methods to be enqueued
Only works for picklable instances
2012-07-17 11:48:41 +01:00
Vincent Driessen e807748ee6 Test the timing out of jobs.
Really looking for a way to speed up this test.  It takes up a whole
second doing nothing now, really.
2012-02-22 18:01:14 +01:00
Vincent Driessen 9ac9c23412 Flake8. 2012-02-22 17:39:14 +01:00
Vincent Driessen f07d28db86 Organize test fixtures into a separate file. 2012-02-15 21:55:06 +01:00