Move uuidgen tests to top level directory
Move uuidgen unit tests to orm/tests/ directory Change-Id: I61bb2b44a73e9c211a3b8f50e9f3dfa4287b151c
This commit is contained in:
parent
2645bf293f
commit
ccfeedf967
@ -1,9 +1,11 @@
|
||||
import json
|
||||
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 uuidgen.controllers.v1.uuid_controller as uuid_controller
|
||||
from uuidgen.tests import FunctionalTest
|
||||
|
||||
|
||||
class MyException(Exception):
|
@ -36,8 +36,8 @@ logging = {
|
||||
}
|
||||
# Pecan Application Configurations
|
||||
app = {
|
||||
'root': 'uuidgen.controllers.root.RootController',
|
||||
'modules': ['uuidgen'],
|
||||
'root': 'orm.services.id_generator.uuidgen.controllers.root.RootController',
|
||||
'modules': ['orm.services.id_generator.uuidgen'],
|
||||
'static_root': '%(confdir)s/../../public',
|
||||
'template_path': '%(confdir)s/../templates',
|
||||
'debug': True,
|
@ -1,7 +1,7 @@
|
||||
"""Get configuration module unittests."""
|
||||
from mock import patch
|
||||
from uuidgen.controllers.v1 import configuration as root
|
||||
from uuidgen.tests import FunctionalTest
|
||||
from orm.services.id_generator.uuidgen.controllers.v1 import configuration as root
|
||||
from orm.tests.unit.uuidgen import FunctionalTest
|
||||
|
||||
|
||||
class TestGetConfiguration(FunctionalTest):
|
@ -2,9 +2,8 @@
|
||||
|
||||
# import mock
|
||||
# from mock import patch
|
||||
from uuidgen.controllers.v1 import logs
|
||||
# import logging
|
||||
from uuidgen.tests import FunctionalTest
|
||||
from orm.services.id_generator.uuidgen.controllers.v1 import logs
|
||||
from orm.tests.unit.uuidgen import FunctionalTest
|
||||
|
||||
|
||||
class TestLogs(FunctionalTest):
|
Loading…
x
Reference in New Issue
Block a user