Last change
on this file since 1 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
File size:
1.0 KB
|
Rev | Line | |
---|
[1] | 1 | # |
---|
| 2 | # Test product functionality |
---|
| 3 | # |
---|
| 4 | |
---|
| 5 | import os, sys, string |
---|
| 6 | if __name__ == '__main__': |
---|
| 7 | execfile(os.path.join(sys.path[0], 'framework.py')) |
---|
| 8 | |
---|
| 9 | from Products.PloneTestCase import PloneTestCase |
---|
| 10 | from Products.CMFCore.utils import getToolByName |
---|
| 11 | from Products.CMFQuickInstallerTool.InstalledProduct import InstalledProduct |
---|
| 12 | from Products.CMFCore.CMFCorePermissions import ManagePortal |
---|
| 13 | |
---|
| 14 | class TestResponse(PloneTestCase.PloneTestCase): |
---|
| 15 | |
---|
| 16 | def afterSetUp(self): |
---|
| 17 | data = self.publish(self.portal.id+'/front-page/qseo_properties_edit?title=Hello&title_override=1','mgr:mgrpw', env=None, extra= None ,stdin = out) |
---|
| 18 | |
---|
| 19 | def testChangeTitle(self): |
---|
| 20 | self.assertEqual('Hello', 'Hello') |
---|
| 21 | |
---|
| 22 | def testDescriptionTag(self): |
---|
| 23 | pass |
---|
| 24 | |
---|
| 25 | def testKeywordsTag(self): |
---|
| 26 | pass |
---|
| 27 | |
---|
| 28 | def testHTMLComments(self): |
---|
| 29 | pass |
---|
| 30 | |
---|
| 31 | def testRobotTag(self): |
---|
| 32 | pass |
---|
| 33 | |
---|
| 34 | def testDistributionTag(self): |
---|
| 35 | pass |
---|
| 36 | |
---|
| 37 | def test_suite(): |
---|
| 38 | from unittest import TestSuite, makeSuite |
---|
| 39 | suite = TestSuite() |
---|
| 40 | suite.addTest(makeSuite(TestResponse)) |
---|
| 41 | return suite |
---|
| 42 | |
---|
| 43 | if __name__ == '__main__': |
---|
| 44 | framework() |
---|
| 45 | |
---|
Note: See
TracBrowser
for help on using the repository browser.