Index: /main/waeup.cas/trunk/waeup/cas/tests/sample2.ini
===================================================================
--- /main/waeup.cas/trunk/waeup/cas/tests/sample2.ini	(revision 10351)
+++ /main/waeup.cas/trunk/waeup/cas/tests/sample2.ini	(revision 10352)
@@ -1,3 +1,6 @@
 # A sample config to run WSGI components with paster
+# This config is with all possible options set explicitly.
 [app:main]
 use = egg:waeup.cas#server
+# what file to use to store tickets, credentials, etc.
+db_path = /a/path/to/cas.db
Index: /main/waeup.cas/trunk/waeup/cas/tests/test_server.py
===================================================================
--- /main/waeup.cas/trunk/waeup/cas/tests/test_server.py	(revision 10351)
+++ /main/waeup.cas/trunk/waeup/cas/tests/test_server.py	(revision 10352)
@@ -21,4 +21,6 @@
         self.paste_conf1 = os.path.join(
             os.path.dirname(__file__), 'sample1.ini')
+        self.paste_conf2 = os.path.join(
+            os.path.dirname(__file__), 'sample2.ini')
 
     def tearDown(self):
@@ -32,9 +34,12 @@
         app = loadapp('config:%s' % self.paste_conf1)
         assert isinstance(app, CASServer)
+        assert hasattr(app, 'db_path')
+        assert app.db_path is not None
 
     def test_paste_deploy_options(self):
         # we can set CAS server-related options via paste.deploy config
-        app = loadapp('config:%s' % self.paste_conf1)
+        app = loadapp('config:%s' % self.paste_conf2)
         assert isinstance(app, CASServer)
+        assert app.db_path == '/a/path/to/cas.db'
 
     def test_init(self):
