File: testSquishSite.py

package info (click to toggle)
squishdot 1.3.0-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 896 kB
  • ctags: 349
  • sloc: python: 2,313; makefile: 56; sh: 54
file content (26 lines) | stat: -rw-r--r-- 741 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
from unittest import makeSuite

from base import SquishdotBase

from Products.Squishdot import manage_addSquishdot

class SquishSiteTests(SquishdotBase):

    def testCreation1(self):
        "Test Squishdot Site creation using Fancy Demo 1"
        manage_addSquishdot(self.Folder,'testSquish1',default_doc='demo1')

    def testCreation2(self):
        "Test Squishdot Site creation using Fancy Demo 2"
        manage_addSquishdot(self.Folder,'testSquish2',default_doc='demo2')

    def testCreation3(self):
        "Test Squishdot Site creation using Plain Demo"
        manage_addSquishdot(self.Folder,'testSquish3',default_doc='plain')

def test_suite():
    return makeSuite(SquishSiteTests)

def debug():
   test_suite().debug()