from tests.toEditorial import ToEditorial try: # Create new TestInfo object testInfo = testInfo.TestInfo() # Create Launch and ProjectBrowser objects to start a clean version projectBrowser = ProjectBrowser(testInfo) launch = Launch(testInfo, projectBrowser) # Create test objects here (e.g. fromMaya = FromMaya(testInfo)) fromEditorial = FromEditorial(testInfo, launch) importDrawing = ImportDrawing(testInfo) export = Export(testInfo) toEditorial = ToEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. fromEditorial.publishToFlix2('Refs from Premiere.', 'refsFromPremiere', toShotgun=False, asStills=False) export.exportQuickTime(200) importDrawing.importPanels2('mov', nPanels=8) toEditorial.toPremiere('Publishing back to Premiere') ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('refsFromPremiere: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence sikuliUtils.cleanup(testInfo, False)
from tests.importDrawing import ImportDrawing try: # Construct new TestInfo object testInfo = testInfo.TestInfo() # Create Launch and ProjectBrowser objects to start a clean version projectBrowser = ProjectBrowser(testInfo) launch = Launch(testInfo, projectBrowser) # Construct test objects here (e.g. fromMaya = FromMaya(testInfo)) export = Export(testInfo) importDrawing = ImportDrawing(testInfo) ##################################################### # TODO: Write tests to execute here. importDrawing.importDrawings() export.exportPDF(panelsPerPage=9) export.exportPDF(panelsPerPage=4) export.exportPDF(panelsPerPage=3) # export.exportPDF(panelsPerPage=1) export.exportQuickTime(timeout=100) ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('exportPluginsTest: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence sikuliUtils.cleanup(testInfo, False)