summaryrefslogtreecommitdiffstats
path: root/tests/helpers
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2014-11-10 14:57:53 -0500
committerPatrick Uiterwijk <puiterwijk@redhat.com>2014-11-12 23:46:52 +0100
commit5e0b9747121eab67c5a3ee3bb42a677e35da7fd6 (patch)
treec93728a60d98385637c9dc82f05fa46fdf858e8f /tests/helpers
parent0087ad1e0824b4b1c49ce1468bfbb2e492ac7992 (diff)
downloadipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.tar.gz
ipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.tar.xz
ipsilon-5e0b9747121eab67c5a3ee3bb42a677e35da7fd6.zip
Add simple SqlSession implementation
This allows us to store session data in the DB. This way session data can be shared by multiple servers behind a balancer. Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'tests/helpers')
-rwxr-xr-xtests/helpers/common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/helpers/common.py b/tests/helpers/common.py
index a0adfae..e316718 100755
--- a/tests/helpers/common.py
+++ b/tests/helpers/common.py
@@ -138,7 +138,7 @@ class IpsilonTestBase(object):
env=env, preexec_fn=os.setsid)
self.processes.append(p)
p.wait()
- for d in ['adminconfig', 'userprefs', 'transactions']:
+ for d in ['adminconfig', 'userprefs', 'transactions', 'sessions']:
cmd = ['/usr/bin/createdb', '-h', addr, '-p', port, d]
subprocess.check_call(cmd, env=env)