#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2014 Petri Heinilä, LGPL 2.1

import logging  # http://docs.python.org/py3k/library/logging.html
log = logging.getLogger(__name__)
D = log.debug
logging.basicConfig(level=logging.DEBUG)
import pytest

import sys
sys.path.append("..")

from pyapi.pyapi import get_pobj_module

"""
from cmd line get modules (or packages) -> module_list

for modules import submodules

retain composition
"""


import time


def test_01():
    """ Testing 01 """
    get_pobj_module("pyapi.main")
    assert 0

if __name__ == "__main__":
    pytest.main("-s")

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Copyright (C) 2014 Petri Heinilä, LGPL 2.1

import logging  # http://docs.python.org/py3k/library/logging.html
log = logging.getLogger(__name__)
D = log.debug
logging.basicConfig(level=logging.DEBUG)
import pytest

import sys
sys.path.append("..")

from pyapi.main import get_pobj_module


def test_01():
    """ Testing 01 """
    get_pobj_module("pyapi.main")
    assert 0

if __name__ == "__main__":
    pytest.main("-s")

test cleanup