예제 #1
0
 def getAdditionalCoverSheets(self):
     tm = TogManager()
     tm.getCoverSheets()
     try:
         self.assertTrue(len(tm.coverSheetPaths) > 0)
     except Exception as e:
         print(e)
         print(
             "additionalCoverSheetPaths list is empty, was not filled from getAdditionalCoverSheets"
         )
     for coverSheetPath in tm.coverSheetPaths:
         file = os.path.basename(coverSheetPath)
         try:
             self.assertTrue(file == "Cover Sheet.pdf")
         except Exception as e:
             print(e)
             print("Cover Sheet name is wrong:", file)
예제 #2
0
 def moveCoverSheetsVettingTest(self):
     tm = TogManager()
     tm.getCoverSheets(r"C:\Pkgs\Vetting")
     tm.moveAdditionalCoverSheets()
예제 #3
0
 def moveCoverSheetsAdditionalTest(self):
     tm = TogManager()
     tm.getCoverSheets()
     tm.moveAdditionalCoverSheets()