summaryrefslogtreecommitdiffstats
path: root/tests/features/steps/step_definitions.py
diff options
context:
space:
mode:
authorIryna Cherniavska <i.chernyavska@gmail.com>2015-07-31 09:43:58 -0700
committerIryna Cherniavska <i.chernyavska@gmail.com>2015-07-31 09:43:58 -0700
commit59af55c90bf30719888164627a8e619a6b9c3b34 (patch)
tree046788def9bb2dfe1008fac547157ca87fc3729d /tests/features/steps/step_definitions.py
parentae2e56f3192589c43ea1635aab5c156c2391d364 (diff)
Added python version suffix to test db name, so each version creates its own test db.
Diffstat (limited to 'tests/features/steps/step_definitions.py')
-rw-r--r--tests/features/steps/step_definitions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/features/steps/step_definitions.py b/tests/features/steps/step_definitions.py
index b6fa69b8..cb2bd8c0 100644
--- a/tests/features/steps/step_definitions.py
+++ b/tests/features/steps/step_definitions.py
@@ -126,7 +126,7 @@ def step_db_connect_test(context):
"""
Send connect to database.
"""
- db_name = context.config.userdata.get('pg_test_db', None)
+ db_name = context.conf['dbname']
context.cli.sendline('\connect {0}'.format(db_name))