
Move uuidgen unit tests to orm/tests/ directory Change-Id: I61bb2b44a73e9c211a3b8f50e9f3dfa4287b151c
23 lines
517 B
Python
23 lines
517 B
Python
import os
|
|
from pecan import set_config
|
|
from pecan.testing import load_test_app
|
|
from unittest import TestCase
|
|
|
|
__all__ = ['FunctionalTest']
|
|
|
|
|
|
class FunctionalTest(TestCase):
|
|
"""Used for functional tests
|
|
where you need to test your literal application
|
|
and its integration with the framework.
|
|
"""
|
|
|
|
def setUp(self):
|
|
self.app = load_test_app(os.path.join(
|
|
os.path.dirname(__file__),
|
|
'config.py'
|
|
))
|
|
|
|
def tearDown(self):
|
|
set_config({}, overwrite=True)
|