示例#1
0
import traceback
import testInfo
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

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)

    #####################################################
    # TODO: Write tests to execute here.

    fromSbp.sbpToFlix()
    #####################################################

except Exception:
    var = traceback.format_exc()
    sikuliUtils.log("budsBud: " + str(var), "error")

# Kill Flix, close any open window related to the test, zip the sequence
sikuliUtils.cleanup(testInfo, False)
示例#2
0
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
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:
示例#3
0
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.fromSBP import FromSBP

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)

    #####################################################
    # TODO: Write tests to execute here.

    fromSbp.sbpToFlix('ppi')
    #####################################################

except Exception:
    var = traceback.format_exc()
    sikuliUtils.log('sbpPPI: ' + str(var), 'error')

# Kill Flix, close any open window related to the test, zip the sequence
sikuliUtils.cleanup(testInfo, False)
示例#4
0
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.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: