cryptonas-branches/pythonrewrite/bin2/unittests.CryptoBoxWebserver.py
age 697d5f9b0c webserver, sites and settings splitted
included some new functions from the perl file
the clearsilver templates have to be modified next
2006-08-24 00:06:19 +00:00

24 lines
486 B
Python

import unittest
import cherrypy, os
import CryptoBox
import CryptoBoxWebserver
class TestCryptoBoxWebserver(unittest.TestCase):
cbw = CryptoBoxWebserver.CryptoBoxWebserver()
cherrypy.config.configMap.update(
{
"/cryptobox.css": {
"staticFilter.on" : True,
"staticFilter.file": os.path.abspath("../www-data/cryptobox.css" )
}
})
cbw.start()
def testConfigFile(self):
'''testConfigFile TODO'''
self.assertTrue(1)
if __name__ == "__main__":
unittest.main()