From 59af55c90bf30719888164627a8e619a6b9c3b34 Mon Sep 17 00:00:00 2001 From: Iryna Cherniavska Date: Fri, 31 Jul 2015 09:43:58 -0700 Subject: Added python version suffix to test db name, so each version creates its own test db. --- tests/features/steps/step_definitions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/features/steps/step_definitions.py') 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)) -- cgit v1.2.3