summaryrefslogtreecommitdiff
path: root/tests/connection_pool.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/connection_pool.py')
-rw-r--r--tests/connection_pool.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/connection_pool.py b/tests/connection_pool.py
index 8252cee..54cbf05 100644
--- a/tests/connection_pool.py
+++ b/tests/connection_pool.py
@@ -1,9 +1,11 @@
+import os
import redis
import unittest
class DummyConnection(object):
def __init__(self, **kwargs):
self.kwargs = kwargs
+ self.pid = os.getpid()
class ConnectionPoolTestCase(unittest.TestCase):
def get_pool(self, connection_info=None, max_connections=None):