Exemplo n.º 1
0
 def test_force_absolute(self):
     self.assertEqual('https://vgmdb.net/album/29',
                      utils.force_absolute('album/29'))
     self.assertEqual('http://wikipedia.org/album/29',
                      utils.force_absolute('http://wikipedia.org/album/29'))
     self.assertEqual(
         'https://www.facebook.com/akadress',
         utils.force_absolute('https://www.facebook.com/akadress'))
Exemplo n.º 2
0
	def test_force_absolute(self):
		self.assertEqual('https://vgmdb.net/album/29', utils.force_absolute('album/29'))
		self.assertEqual('http://wikipedia.org/album/29', utils.force_absolute('http://wikipedia.org/album/29'))
		self.assertEqual('https://www.facebook.com/akadress', utils.force_absolute('https://www.facebook.com/akadress'))
Exemplo n.º 3
0
Arquivo: utils.py Projeto: qood/vgmdb
 def test_force_absolute(self):
     self.assertEqual("http://vgmdb.net/album/29", utils.force_absolute("album/29"))
     self.assertEqual("http://wikipedia.org/album/29", utils.force_absolute("http://wikipedia.org/album/29"))