autocat3/Test.py

16 lines
307 B
Python
Raw Normal View History

2019-04-05 21:27:16 +00:00
'''
run this with
python -m unittest -v Test
'''
import os
import unittest
import CherryPyApp
class TestInstantiation(unittest.TestCase):
def setUp(self):
CherryPyApp.CHERRYPY_CONFIG = [os.path.join(os.path.dirname(__file__), 'test.conf')]
def test_main(self):
CherryPyApp.main()