Last change
on this file since 2335 was
2335,
checked in by mylan, 14 years ago
|
Added installation tests
|
-
Property svn:eol-style set to
native
|
File size:
610 bytes
|
Line | |
---|
1 | import unittest |
---|
2 | from quintagroup.referencedatagridfield.tests.base import TestCase |
---|
3 | |
---|
4 | |
---|
5 | class TestInstallation(TestCase): |
---|
6 | """ Installation unit tests """ |
---|
7 | def afterSetUp(self): |
---|
8 | self.skins = self.portal.portal_skins |
---|
9 | |
---|
10 | def test_skininstall(self): |
---|
11 | self.assertEqual('referencedatagridfield' in self.skins.objectIds(), True) |
---|
12 | |
---|
13 | def test_skinlayer(self): |
---|
14 | for sname, slaers in self.skins.getSkinPaths(): |
---|
15 | self.assertEqual('referencedatagridfield' in slaers, True) |
---|
16 | |
---|
17 | |
---|
18 | def test_suite(): |
---|
19 | return unittest.TestSuite([ |
---|
20 | unittest.makeSuite(TestInstallation), |
---|
21 | ]) |
---|
Note: See
TracBrowser
for help on using the repository browser.