Ejemplo n.º 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')
Ejemplo n.º 2
0
def test_sequence_add_instance(sequence, asset):
    Instance.add_instance(sequence, asset, asset.name + 'new_1')
Ejemplo n.º 3
0
def test_shot_add_instance(shot, asset):
    Instance.add_instance(shot, asset, asset.name + 'new_1')