Exemplo n.º 1
0
 def IsConceptFolderListEmptyAfterFunction(self):
     tm = TogManager()
     tm.getAndStoreConceptFolderList()
     tm.moveConceptualDrawingFolders()
     try:
         self.assertTrue(not tm.conceptFolderList)  #i.e. list is empty
     except Exception as e:
         print(e)
         print("Not all concept folders were moved", tm.conceptFolderList)
Exemplo n.º 2
0
 def getAndStoreConceptFolderListTest(self):
     tm = TogManager()
     tm.getAndStoreConceptFolderList()
     try:
         self.assertTrue(len(tm.conceptFolderList) > 0)
     except Exception as e:
         print(e)
         print(
             "getAndStoreConceptFolderList did not fill the self.conceptFolderList"
         )
Exemplo n.º 3
0
 def checkContentsOfConceptFolderList(self):
     tm = TogManager()
     tm.getAndStoreConceptFolderList()
     for concept in tm.conceptFolderList:
         fileName = os.path.basename(concept)
         try:
             self.assertTrue(fileName == "Concept Drawings")
         except Exception as e:
             print(e)
             print(
                 "self.conceptFolderList contains an filepath whose base item's name is not Concept Drawing"
             )