Пример #1
0
 def test_cssregistry__sll_theme_extra__rel(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getRel(), 'stylesheet')
Пример #2
0
 def test_cssregistry__sll_basetheme_main__authenticated(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertFalse(resource.getAuthenticated())
Пример #3
0
 def test_cssregistry__sll_theme_extra__conditionalcomment(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getConditionalcomment(), '')
Пример #4
0
 def test_cssregistry__sll_theme_extra__expression(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getExpression(), '')
Пример #5
0
 def test_cssregistry__sll_theme_main__rendering(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/main.css')
     self.assertEqual(resource.getRendering(), 'link')
Пример #6
0
 def test_cssregistry__sll_theme_extra__applyPrefix(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/extra.css')
     self.assertTrue(resource.getApplyPrefix())
Пример #7
0
 def test_cssregistry__sll_theme_extra__media(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getMedia(), 'screen')
Пример #8
0
 def test_cssregistry__sll_basetheme_main__rendering(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getRendering(), 'link')
Пример #9
0
 def test_cssregistry__sll_basetheme_main__enabled(self):
     resource = get_css_resource(self.portal, '++resource++sll.templates/css/main.css')
     self.assertTrue(resource.getEnabled())
Пример #10
0
 def test_cssregistry__sll_basetheme_main__expression(self):
     resource = get_css_resource(self.portal, '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getExpression(), '')
Пример #11
0
 def test_cssregistry__sll_basetheme_main__conditionalcomment(self):
     resource = get_css_resource(self.portal, '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getConditionalcomment(), '')
Пример #12
0
 def test_cssregistry__sll_basetheme_main__authenticated(self):
     resource = get_css_resource(self.portal, '++resource++sll.templates/css/main.css')
     self.assertFalse(resource.getAuthenticated())
Пример #13
0
 def test_cssregistry__sll_basetheme_main__applyPrefix(self):
     resource = get_css_resource(self.portal, '++resource++sll.templates/css/main.css')
     self.assertTrue(resource.getApplyPrefix())
Пример #14
0
 def test_cssregistry__sll_basetheme_main__enabled(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertTrue(resource.getEnabled())
Пример #15
0
 def test_cssregistry__sll_theme_extra__rel(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getRel(), 'stylesheet')
Пример #16
0
 def test_cssregistry__sll_basetheme_main__media(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getMedia(), 'screen')
Пример #17
0
 def test_cssregistry__sll_theme_extra__rendering(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getRendering(), 'link')
Пример #18
0
 def test_cssregistry__sll_basetheme_main__rel(self):
     resource = get_css_resource(self.portal, '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getRel(), 'stylesheet')
Пример #19
0
 def test_cssregistry__sll_theme_extra__title(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertIsNone(resource.getTitle())
Пример #20
0
 def test_cssregistry__sll_theme_main__title(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/main.css')
     self.assertIsNone(resource.getTitle())
Пример #21
0
 def test_cssregistry__sll_theme_main__cookable(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/main.css')
     self.assertTrue(resource.getCookable())
Пример #22
0
 def test_cssregistry__sll_theme_extra__authenticated(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/extra.css')
     self.assertFalse(resource.getAuthenticated())
Пример #23
0
 def test_cssregistry__sll_theme_extra__applyPrefix(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertTrue(resource.getApplyPrefix())
Пример #24
0
 def test_cssregistry__sll_theme_extra__enabled(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/extra.css')
     self.assertTrue(resource.getEnabled())
Пример #25
0
 def test_cssregistry__sll_theme_extra__authenticated(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertFalse(resource.getAuthenticated())
Пример #26
0
 def test_cssregistry__sll_theme_extra__media(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getMedia(), 'screen')
Пример #27
0
 def test_cssregistry__sll_theme_extra__compression(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getCompression(), 'safe')
Пример #28
0
 def test_cssregistry__sll_basetheme_main__applyPrefix(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertTrue(resource.getApplyPrefix())
Пример #29
0
 def test_cssregistry__sll_theme_extra__conditionalcomment(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertEqual(resource.getConditionalcomment(), '')
Пример #30
0
 def test_cssregistry__sll_basetheme_main__conditionalcomment(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getConditionalcomment(), '')
Пример #31
0
 def test_cssregistry__sll_theme_extra__enabled(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.theme/css/extra.css')
     self.assertTrue(resource.getEnabled())
Пример #32
0
 def test_cssregistry__sll_basetheme_main__expression(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getExpression(), '')
Пример #33
0
 def test_cssregistry__sll_theme_main__compression(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/main.css')
     self.assertEqual(resource.getCompression(), 'safe')
Пример #34
0
 def test_cssregistry__sll_basetheme_main__rel(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getRel(), 'stylesheet')
Пример #35
0
 def test_cssregistry__sll_theme_main__cookable(self):
     resource = get_css_resource(self.portal, '++resource++sll.theme/css/main.css')
     self.assertTrue(resource.getCookable())
Пример #36
0
 def test_cssregistry__sll_basetheme_main__title(self):
     resource = get_css_resource(self.portal,
                                 '++resource++sll.templates/css/main.css')
     self.assertIsNone(resource.getTitle())
Пример #37
0
 def test_cssregistry__sll_basetheme_main__media(self):
     resource = get_css_resource(self.portal, '++resource++sll.templates/css/main.css')
     self.assertEqual(resource.getMedia(), 'screen')