from tests.projectBrowser import ProjectBrowser # Import additional test modules here (e.g. from tests.fromMaya import FromMaya) from tests.importDrawing import ImportDrawing 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)) importDrawing = ImportDrawing(testInfo) toEditorial = ToEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. importDrawing.importDrawings('psd', 5) importDrawing.importDrawings('mov', 11) importDrawing.importDrawings('jpeg', 15) toEditorial.toPremiere(comment="Publishing all these panels to Premiere.") ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('moviesToPremiere: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence sikuliUtils.cleanup(testInfo, False)
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)) importDrawing = ImportDrawing(testInfo) ##################################################### # TODO: Write tests to execute here. # importDrawing.importPanels2('psd', 5) # # importDrawing.importPanels2('mov', 5) # # importDrawing.importPanels2('jpeg', 5) importDrawing.importDrawings('psd', 5) importDrawing.importDrawings('mov', 3) importDrawing.importDrawings('jpeg', 5) ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('importTests: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence sikuliUtils.cleanup(testInfo, False)
from tests.projectBrowser import ProjectBrowser from tests.editTools import EditTools from tests.importDrawing import ImportDrawing from tests.toEditorial import ToEditorial 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)) editTools = EditTools(testInfo) importDrawing = ImportDrawing(testInfo) toEditorial = ToEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. importDrawing.importDrawings() editTools.addDialogue("Adding dialogue for panel [panelIndex]", firstPanel=2, lastPanel=4) toEditorial.toAvid("Publishing some panels with dialogue to Avid.") ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('dialogueToAvid: ' + 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: # 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)) fromSbp = FromSBP(testInfo) toEditorial = ToEditorial(testInfo, launch) importDrawing = ImportDrawing(testInfo) ##################################################### # TODO: Write tests to execute here. fromSbp.sbpToFlix('qa_testv1') toEditorial.toSBP() fromSbp.sbpToFlix('qa_testv2') importDrawing.importDrawings('psd', 7) importDrawing.importAudio('newWorld.mp3') toEditorial.toSBP() ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('sbpRoundtrip: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence sikuliUtils.cleanup(testInfo, False)