summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-05-11 18:14:42 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-05-12 00:39:31 +0200
commit8445b3297cd0b25989f2575c21bf3426aee7c5ad (patch)
tree3ce2b9aa142f9946548fc6175dcc07fa2561ace0 /tests
parent6437f6c9385e5e59cb21de7a3addedd904ee2825 (diff)
Use plugin-specific configuration, better expiration
Use a SAML2 plugin specific option to specify the database uri for sessions. Use a much more robust method to find sessions that need expiration (thanks Patrick). https://fedorahosted.org/ipsilon/ticket/90 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'tests')
-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 93d0f17..cbd516b 100755
--- a/tests/helpers/common.py
+++ b/tests/helpers/common.py
@@ -187,7 +187,7 @@ class IpsilonTestBase(object):
self.processes.append(p)
p.wait()
for d in ['adminconfig', 'users', 'transactions', 'sessions',
- 'saml2sessions']:
+ 'saml2.sessions.db']:
cmd = ['/usr/bin/createdb', '-h', addr, '-p', port, d]
subprocess.check_call(cmd, env=env)