# Path: nive_cms/cmsview/view.py
# def view(self):
#     return {}
# 
# Path: nive_cms/cmsview/cmsroot.py
# class cmsroot(PageRootBase):
# 
#     #implements(IWebsiteRoot, ICMSRoot)
#     implements(ICMSRoot)
#     extension = u"html"
#     
#     def Init(self):
#         self.__acl__ = (
#             (Allow, 'group:editor', 'view'),
#             (Allow, 'group:author', 'view'),
#             (Allow, 'group:reviewer', 'view'),
#             (Allow, 'group:reader', 'view'),
#             (Allow, 'group:admin', 'view'),
#             (Deny, Everyone, 'view'),
#         )


import time
import unittest
from nive.helper import FormatConfTestFailure
from nive_cms.cmsview import view
from nive_cms.cmsview import cmsroot
# -*- coding: utf-8 -*-







class TestConf(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_conf1(self):
        r=view.configuration.test()
        if not r:
            return

# Path: nive_cms/cmsview/view.py
# def view(self):
#     return {}
# 
# Path: nive_cms/cmsview/cmsroot.py
# class cmsroot(PageRootBase):
# 
#     #implements(IWebsiteRoot, ICMSRoot)
#     implements(ICMSRoot)
#     extension = u"html"
#     
#     def Init(self):
#         self.__acl__ = (
#             (Allow, 'group:editor', 'view'),
#             (Allow, 'group:author', 'view'),
#             (Allow, 'group:reviewer', 'view'),
#             (Allow, 'group:reader', 'view'),
#             (Allow, 'group:admin', 'view'),
#             (Deny, Everyone, 'view'),
#         )


# Path: nive_cms/cmsview/tests/test_configuration.py
import time
import unittest
from nive.helper import FormatConfTestFailure
from nive_cms.cmsview import view
from nive_cms.cmsview import cmsroot

# -*- coding: utf-8 -*-







class TestConf(unittest.TestCase):

    def setUp(self):
        pass

    def tearDown(self):
        pass

    def test_conf1(self):
        r=view.configuration.test()
        if not r:
            return

        print FormatConfTestFailure(r)