def test_authname_001 (self): xrn=PlXrn(xrn='ple.inria.omftest',type='slice') self.assertEqual(xrn.pl_authname(),'inria')
def test_login_base_001 (self): xrn=PlXrn(xrn='ple.inria.omftest',type='slice') self.assertEqual(xrn.pl_login_base(),'inria')
def test_slice001 (self): xrn=PlXrn (auth="ple",slicename="inria_omftest") self.assertEqual (xrn.get_hrn_type(), ("ple.inria.omftest",'slice'))
def test_person002 (self): xrn=PlXrn (auth="ple.inria",email="*****@*****.**") self.assertEqual (xrn.get_hrn_type(), ("ple.inria.first_last",'person'))
def test_host002 (self): xrn=PlXrn (auth="ple\\.inria",hostname="onelab09.pl.sophia.inria.fr") self.assertEqual (xrn.get_hrn_type(), ("ple\\.inria.onelab09\\.pl\\.sophia\\.inria\\.fr",'node'))