diff options
author | Iryna Cherniavska <i.chernyavska@gmail.com> | 2015-07-31 09:43:58 -0700 |
---|---|---|
committer | Iryna Cherniavska <i.chernyavska@gmail.com> | 2015-07-31 09:43:58 -0700 |
commit | 59af55c90bf30719888164627a8e619a6b9c3b34 (patch) | |
tree | 046788def9bb2dfe1008fac547157ca87fc3729d /tests/features/steps/step_definitions.py | |
parent | ae2e56f3192589c43ea1635aab5c156c2391d364 (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.py | 2 |
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)) |