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.toAvid(comment="Publishing all these panels to Avid.") ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('moviesToAvid: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence
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') # Kill Flix, close any open window related to the test, zip the sequence
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.fromSBP import FromSBP 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)) fromSbp = FromSBP(testInfo) toEditorial = ToEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. fromSbp.sbpToFlix() toEditorial.toAvid('Publishing buds bud to Avid') ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log('budsBudSbpAvid: ' + str(var), 'error') # Kill Flix, close any open window related to the test, zip the sequence sikuliUtils.cleanup(testInfo, False)
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 sikuliUtils.cleanup(testInfo, False)
from tests.launch import Launch 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()
import traceback from utils import sikuliUtils from tests.launch import Launch from tests.projectBrowser import ProjectBrowser from tests.fromMaya import FromMaya 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)) fromMaya = FromMaya(testInfo) toEditorial = ToEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. fromMaya.addStills(frames=[1, 2, 3, 4, 5, 6, 10]) fromMaya.addSequencerShots(nShots=3) toEditorial.toPremiere("Publishing Maya stuff to Premiere.") toEditorial.toAvid("Publishing Maya stuff to Avid.") ##################################################### except Exception: var = traceback.format_exc() sikuliUtils.log("mayaToEditorial: " + str(var), "error") # Kill Flix, close any open window related to the test, zip the sequence
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() sikuliUtils.log('refsFromPremiere: ' + str(var), 'error')
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.") ##################################################### except Exception: var = traceback.format_exc()
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.fromSBP import FromSBP 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)) fromSbp = FromSBP(testInfo) toEditorial = ToEditorial(testInfo, launch) ##################################################### # TODO: Write tests to execute here. fromSbp.sbpToFlix('qa_testv1') toEditorial.toAvid("Publishing SBP sequence to Avid.") fromSbp.sbpToFlix('qa_testv2') toEditorial.toAvid("Publishing SBP sequence v2 to Avid.") projectBrowser.createCleanVersion() fromSbp.sbpToFlix('budsBud') toEditorial.toAvid("Publishing budsBud sequence to Avid.") ##################################################### except Exception: var = traceback.format_exc()