1 import unittest
2
3 from zope.testing import doctestunit
4 from zope.component import testing
5 from Testing import ZopeTestCase as ztc
6 from Products.PloneTestCase import PloneTestCase as ptc
7
8 from Products.Five import zcml
9 from Products.Five import fiveconfigure
10 from Products.PloneTestCase.layer import PloneSite
11
12 from platecom.langview.config import *
13 import base
14
16 """
17 """
18
20 """
21 >>> portal = self.portal
22 >>> skinstool = portal.portal_skins
23 >>> skinstool
24 <SkinsTool at /plone/portal_skins>
25 >>> 'icsemantic.langfallback' in skinstool.getSkinPath('Plone Default')
26 True
27
28 """
29
31 """
32 >>> portal = self.portal
33 >>> skinstool = portal.portal_skins
34 >>> path = skinstool.getSkinPath('Plone Default')
35 >>> 'icsemantic.langfallback' in path
36 True
37 >>> 'LinguaPlone' in path
38 True
39 >>> path.index('icsemantic.langfallback') < path.index('LinguaPlone')
40 True
41
42 """
43
57
58 if __name__ == '__main__':
59 unittest.main(defaultTest='test_suite')
60