Пример #1
0
 def test_generate_glance_url(self):
     generated_url = utils.generate_glance_url()
     actual_url = "http://%s:%d" % (CONF.glance_host,
                                    CONF.glance_port)
     self.assertEqual(generated_url, actual_url)
Пример #2
0
 def test_generate_glance_url(self):
     generated_url = utils.generate_glance_url()
     actual_url = "http://%s:%d" % (CONF.glance_host, CONF.glance_port)
     self.assertEqual(generated_url, actual_url)