Commit e482b6df authored by Stavros Sachtouris's avatar Stavros Sachtouris
Browse files

Restructure tests, distinct functional from unit

parent 211438f7
......@@ -11,7 +11,7 @@ Alternatively, you can, of course, use the grnet repository to build the image:
$ docker build -t snf-occi-client:<version>
$ docker build -t snf-occi-client:<version>
Run a new container
# Copyright (C) 2016 GRNET S.A.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <>.
This it the entry point for paste deploy .
Paste config file needs to point to egg:<package name>:<entrypoint name>:
use = egg:snfOCCI#sample_app
sample_app entry point is defined in
sample_app = soi:main
which point to this function call (<module name>:function).
from soi import wsgi
from soi import synnefo
# W0613:unused args
# pylint: disable=W0613
def main(global_config, **settings):
"""This is the entry point for paste into the Synnefo OCCI Interface"""
factory = wsgi.SNFOCCIMiddleware.factory({})
return factory(synnefo.call_kamaki)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment