summaryrefslogtreecommitdiff
path: root/tests/test_quote.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_quote.py')
-rwxr-xr-xtests/test_quote.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_quote.py b/tests/test_quote.py
index 0603032..62e7776 100755
--- a/tests/test_quote.py
+++ b/tests/test_quote.py
@@ -23,7 +23,7 @@ class QuotingTestCase(unittest.TestCase):
http://www.postgresql.org/docs/8.1/static/runtime-config-compatible.html
"""
def setUp(self):
- self.conn = psycopg2.connect("dbname=%s" % tests.dbname)
+ self.conn = psycopg2.connect(tests.dsn)
def tearDown(self):
self.conn.close()