예제 #1
0
 def test_test_url_09(self):
     data = test_module.test_url('https://www.somewhere.com')
     self.assertEqual(data, 0)
예제 #2
0
 def test_test_url_12(self):
     data = test_module.test_url('www.somewhere.com/subdir/')
     self.assertEqual(data, 0)
예제 #3
0
 def test_test_url_06(self):
     data = test_module.test_url('192.168.1.1')
     self.assertEqual(data, 0)
예제 #4
0
 def test_test_url_05(self):
     data = test_module.test_url('localhost')
     self.assertEqual(data, 0)
예제 #5
0
 def test_test_url_04(self):
     data = test_module.test_url('embedded space')
     self.assertEqual(data, 102)
예제 #6
0
 def test_test_url_03(self):
     data = test_module.test_url(' ')
     self.assertEqual(data, 101)
예제 #7
0
 def test_test_url_01(self):
     data = test_module.test_url(1)
     self.assertEqual(data, 103)