Permalink
Browse files

Tests passing

  • Loading branch information...
ask committed Dec 3, 2011
1 parent 87a8277 commit 86d0ebc2e424f3d80d9d052074491146eac71e9e
Showing with 1 addition and 2 deletions.
  1. +1 −1 celery/concurrency/solo.py
  2. +0 −1 celery/tests/test_concurrency/test_concurrency_solo.py
@@ -15,7 +15,7 @@ def __init__(self, *args, **kwargs):
def _get_info(self):
return {"max-concurrency": 1,
- "processes": [self.pid],
+ "processes": [os.getpid()],
"max-tasks-per-child": None,
"put-guarded-by-semaphore": True,
"timeouts": ()}
@@ -12,7 +12,6 @@ class test_solo_TaskPool(unittest.TestCase):
def test_on_start(self):
x = solo.TaskPool()
x.on_start()
- self.assertTrue(x.pid)
def test_on_apply(self):
x = solo.TaskPool()

0 comments on commit 86d0ebc

Please sign in to comment.