Move uuidgen tests to top level directory

Move uuidgen unit tests to orm/tests/ directory

Change-Id: I61bb2b44a73e9c211a3b8f50e9f3dfa4287b151c
This commit is contained in:
Nicholas Jones 2017-09-19 11:28:30 -05:00
parent 2645bf293f
commit ccfeedf967
5 changed files with 10 additions and 9 deletions

View File

@ -1,9 +1,11 @@
import json import json
import re import re
import orm.services.id_generator.uuidgen as uuidgen
import orm.services.id_generator.uuidgen.controllers.v1.uuid_controller as uuid_controller
from orm.tests.unit.uuidgen import FunctionalTest
import mock import mock
import uuidgen.controllers.v1.uuid_controller as uuid_controller
from uuidgen.tests import FunctionalTest
class MyException(Exception): class MyException(Exception):

View File

@ -36,8 +36,8 @@ logging = {
} }
# Pecan Application Configurations # Pecan Application Configurations
app = { app = {
'root': 'uuidgen.controllers.root.RootController', 'root': 'orm.services.id_generator.uuidgen.controllers.root.RootController',
'modules': ['uuidgen'], 'modules': ['orm.services.id_generator.uuidgen'],
'static_root': '%(confdir)s/../../public', 'static_root': '%(confdir)s/../../public',
'template_path': '%(confdir)s/../templates', 'template_path': '%(confdir)s/../templates',
'debug': True, 'debug': True,

View File

@ -1,7 +1,7 @@
"""Get configuration module unittests.""" """Get configuration module unittests."""
from mock import patch from mock import patch
from uuidgen.controllers.v1 import configuration as root from orm.services.id_generator.uuidgen.controllers.v1 import configuration as root
from uuidgen.tests import FunctionalTest from orm.tests.unit.uuidgen import FunctionalTest
class TestGetConfiguration(FunctionalTest): class TestGetConfiguration(FunctionalTest):

View File

@ -2,9 +2,8 @@
# import mock # import mock
# from mock import patch # from mock import patch
from uuidgen.controllers.v1 import logs from orm.services.id_generator.uuidgen.controllers.v1 import logs
# import logging from orm.tests.unit.uuidgen import FunctionalTest
from uuidgen.tests import FunctionalTest
class TestLogs(FunctionalTest): class TestLogs(FunctionalTest):