예제 #1
0
 def test_url(self):
     u,c = md.get_url( valid_url, config_1 )
     self.assertEquals( u, valid_url['metadata']['metadata_url'] )
예제 #2
0
 def test_bad_config(self):
     with self.assertRaises( md.MetadataException ):
         md.get_url( valid_uuid, config_2 )