예제 #1
0
def test_shot_add_instance_fail(shot, instance_shot):
    # Expect to fail with InstanceNameExists error.
    try:
        Instance.add_instance(shot, instance_shot.asset, instance_shot.name)
    except InstanceNameExists:
        return
    raise AssertionError('Expected a InstanceNameExists due to instance name exists')
예제 #2
0
def test_sequence_add_instance(sequence, asset):
    Instance.add_instance(sequence, asset, asset.name + 'new_1')
예제 #3
0
def test_shot_add_instance(shot, asset):
    Instance.add_instance(shot, asset, asset.name + 'new_1')