summaryrefslogtreecommitdiff
path: root/server/src/leap/soledad/server/entrypoint.py
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/leap/soledad/server/entrypoint.py')
-rw-r--r--server/src/leap/soledad/server/entrypoint.py11
1 files changed, 7 insertions, 4 deletions
diff --git a/server/src/leap/soledad/server/entrypoint.py b/server/src/leap/soledad/server/entrypoint.py
index df2b8934..7501a447 100644
--- a/server/src/leap/soledad/server/entrypoint.py
+++ b/server/src/leap/soledad/server/entrypoint.py
@@ -20,7 +20,7 @@ The entrypoint for Soledad server.
from twisted.internet import reactor
from .config import load_configuration
-from ._resource import SoledadResource
+from ._session import SoledadSession
from ._wsgi import init_couch_state
@@ -28,10 +28,13 @@ from ._wsgi import init_couch_state
conf = load_configuration('/etc/soledad/soledad-server.conf')
-class SoledadEntrypoint(SoledadResource):
+class SoledadEntrypoint(SoledadSession):
- def __init__(self):
- SoledadResource.__init__(self, conf)
+ # the purpose of the entrypoint is to avoid trying to load the
+ # configuration file during tests. This class will be more useful when we
+ # add the blobs feature toggle. For now, the whole entrypoint
+
+ pass
# see the comments in application.py recarding why couch state has to be