Beispiel #1
0
def setDebug(enable):
    """
    @type enable: bool
    @raise:
    """
    try:
        import mutils
        mutils.setDebug(enable)
    except ImportError as e:
        print e
Beispiel #2
0
 def __init__(self, *args):
     """
     @param args:
     """
     unittest.TestCase.__init__(self, *args)
     self.srcPath = os.path.join(TEST_DATA_DIR, 'test_pose.ma')
     self.dstPath = os.path.join(TEST_DATA_DIR, 'test_pose.pose')
     self.srcObjects = ['srcSphere:lockedNode', 'srcSphere:offset', 'srcSphere:sphere']
     self.dstObjects = ['dstSphere:lockedNode', 'dstSphere:offset', 'dstSphere:sphere']
     self.srcNamespaces = ['srcSphere']
     self.dstNamespaces = ['dstSphere']
     mutils.setDebug(True)