summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Bean <rbean@redhat.com>2013-01-10 17:19:12 -0500
committerRalph Bean <rbean@redhat.com>2013-01-10 17:19:12 -0500
commit90061f7e22e35319590c1c491c0525cd1dc06ad4 (patch)
treec157372fdb081e10fd4f7d580c429063b4dbe618
parenta206305830ebaf7f38df836d15b41704c9ce989c (diff)
downloaddogpile-core-90061f7e22e35319590c1c491c0525cd1dc06ad4.tar.gz
Update async/background unit test to reflect evolution of the pull request.
-rw-r--r--tests/core/test_backgrounding.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/core/test_backgrounding.py b/tests/core/test_backgrounding.py
index 7436099..55c4ba7 100644
--- a/tests/core/test_backgrounding.py
+++ b/tests/core/test_backgrounding.py
@@ -3,11 +3,11 @@ import threading
import dogpile.core
-class TestBackgroundRunner(unittest.TestCase):
- def test_background_release(self):
+class TestAsyncRunner(unittest.TestCase):
+ def test_async_release(self):
self.called = False
- def runner(mutex, creator):
+ def runner(mutex):
self.called = True
mutex.release()