Exemplo n.º 1
0
 def test_no_protocol(self):
     self.assertEqual(
         normalise_toolshed_url('127.0.0.1:9009'),
         'https://127.0.0.1:9009')
Exemplo n.º 2
0
 def test_full_http_url(self):
     self.assertEqual(
         normalise_toolshed_url('http://127.0.0.1:9009'),
         'http://127.0.0.1:9009')
Exemplo n.º 3
0
 def test_full_https_url(self):
     self.assertEqual(
         normalise_toolshed_url('https://toolshed.g2.bx.psu.edu'),
         'https://toolshed.g2.bx.psu.edu')
Exemplo n.º 4
0
 def test_no_protocol(self):
     self.assertEqual(
         normalise_toolshed_url('127.0.0.1:9009'),
         'https://127.0.0.1:9009')
Exemplo n.º 5
0
 def test_full_http_url(self):
     self.assertEqual(
         normalise_toolshed_url('http://127.0.0.1:9009'),
         'http://127.0.0.1:9009')
Exemplo n.º 6
0
 def test_full_https_url(self):
     self.assertEqual(
         normalise_toolshed_url('https://toolshed.g2.bx.psu.edu'),
         'https://toolshed.g2.bx.psu.edu')