Did I find the right examples for you? yes no

All Samples(7)  |  Call(0)  |  Derive(0)  |  Import(7)
Helper module for importing the shinken library from the (uninstalled)
test-suite.

If importing shinken fails, try to load from parent directory to
support running the test-suite without installation.

This does not manipulate sys.path, but uses lower-level Python modules
for looking up and loading the module `shinken` from the directory one
level above this module.

src/s/h/shinken-HEAD/test/test_properties_defaults.py   shinken(Download)
import unittest
 
import __import_shinken
from shinken.property import UnusedProp, none_object
import shinken.daemon

src/s/h/shinken-HEAD/test/test_properties.py   shinken(Download)
import unittest
 
import __import_shinken
import shinken.property
from shinken.property import none_object

src/s/h/shinken-HEAD/test/test_logging.py   shinken(Download)
from tempfile import NamedTemporaryFile
 
import __import_shinken
from shinken.log import logger, Log
import shinken.log as logging

src/s/h/shinken-HEAD/test/shinken_test.py   shinken(Download)
 
# import the shinken library from the parent directory
import __import_shinken ; del __import_shinken
 
import shinken

src/s/h/Shinken-2.0.2/test/test_properties_defaults.py   Shinken(Download)
import unittest
 
import __import_shinken
from shinken.property import UnusedProp, none_object
import shinken.daemon

src/s/h/Shinken-2.0.2/test/test_properties.py   Shinken(Download)
import unittest
 
import __import_shinken
import shinken.property
from shinken.property import none_object

src/s/h/Shinken-2.0.2/test/test_logging.py   Shinken(Download)
from tempfile import NamedTemporaryFile
 
import __import_shinken
from shinken.log import logger, Log
import shinken.log as logging