import traceback from utils import sikuliUtils from tests.launch import Launch 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')
import traceback from utils import sikuliUtils from tests.launch import Launch from tests.projectBrowser import ProjectBrowser # Import additional test modules here (e.g. from tests.fromMaya import FromMaya) from tests.importDrawing import ImportDrawing from tests.fromEditorial import FromEditorial 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) fromEditorial = FromEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. importDrawing.importPanels2('jpeg', 10) fromEditorial.publishToFlix2('Back from Avid.', 'fromAvid_2', toShotgun=False, toEditorial=False, asStills=False) ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('fromAvid: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence sikuliUtils.cleanup(testInfo, False)
from utils import sikuliUtils from tests.launch import Launch 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
import testInfo import traceback from utils import sikuliUtils from tests.launch import Launch from tests.projectBrowser import ProjectBrowser # Import additional test modules here (e.g. from tests.fromMaya import FromMaya) 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)) 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) #####################################################
from tests.projectBrowser import ProjectBrowser # Import additional test modules here (e.g. from tests.fromMaya import FromMaya) from tests.fromSBP import FromSBP from tests.toEditorial import ToEditorial 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')
from tests.projectBrowser import ProjectBrowser # Import additional test modules here (e.g. from tests.fromMaya import FromMaya) from tests.fromEditorial import FromEditorial from tests.importDrawing import ImportDrawing from tests.export import Export 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()
from tests.projectBrowser import ProjectBrowser # Import additional test modules here (e.g. from tests.fromMaya import FromMaya) from tests.importDrawing import ImportDrawing from tests.editTools import EditTools from tests.fromPS import FromPS 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) editTools = EditTools(testInfo) fromPs = FromPS(testInfo) toEditorial = ToEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. importDrawing.importPanels('panel', 'jpeg', 5) fromPs.psCurrentImage(['panel11', 'panel12']) editTools.copyPastePanel('panel1.png') editTools.copyPastePanel('panel5.png') editTools.duplicatePanel('panel3.png') toEditorial.toPremiere(comment="Instances and duplicates to Premiere.") toEditorial.toAvid(comment="Instances and duplicates to Avid.") #####################################################