00001 import unittest 00002 from GPyUnit.util import DispatchEx 00003 00004 class TestRegistrar(unittest.TestCase): 00005 def test_GetAssociatedParadigmsDisp(self): 00006 x = DispatchEx("MGA.MgaRegistrar") 00007 self.assertEqual(list(x.GetAssociatedParadigmsDisp("MGA.Interpreter.MetaInterpreter", 1)), [u'MetaGME']) 00008 00009 #suite = (TestRegistrar(),) 00010 00011 if __name__ == "__main__": 00012 unittest.main()