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 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)