Arch: Fixed test to work without the Drawing module
This commit is contained in:
@@ -85,7 +85,8 @@ def makeSectionPlane(objectslist=None,name="Section"):
|
||||
|
||||
def makeSectionView(section,name="View"):
|
||||
|
||||
"""makeSectionView(section) : Creates a Drawing view of the given Section Plane
|
||||
"""OBSOLETE
|
||||
makeSectionView(section) : Creates a Drawing view of the given Section Plane
|
||||
in the active Page object (a new page will be created if none exists"""
|
||||
|
||||
page = None
|
||||
|
||||
@@ -604,7 +604,7 @@ class ArchTest(unittest.TestCase):
|
||||
def testSection(self):
|
||||
App.Console.PrintLog ('Checking Arch Section...\n')
|
||||
s = Arch.makeSectionPlane([])
|
||||
v = Arch.makeSectionView(s)
|
||||
#v = Arch.makeSectionView(s) # obsolete, uses the Drawing module
|
||||
self.failUnless(v,"Arch Section failed")
|
||||
|
||||
def testSpace(self):
|
||||
|
||||
Reference in New Issue
Block a user