예제 #1
0
 def test_equals(self):
     self.assertEqual(domain_name('http://github.com/carbonfive/raygun'),
                      'github')
예제 #2
0
 def test_equals_3(self):
     self.assertEqual(domain_name('https://www.cnet.com'), 'cnet')
예제 #3
0
 def test_equals_4(self):
     self.assertEqual(domain_name('www.xakep.ru'), 'xakep')
예제 #4
0
 def test_equals_2(self):
     self.assertEqual(domain_name('http://www.zombie-bites.com'),
                      'zombie-bites')
 def test_equals(self):
     self.assertEqual(domain_name(
         'http://github.com/carbonfive/raygun'), 'github')
 def test_equals_4(self):
     self.assertEqual(domain_name('www.xakep.ru'), 'xakep')
 def test_equals_3(self):
     self.assertEqual(domain_name('https://www.cnet.com'), 'cnet')
 def test_equals_2(self):
     self.assertEqual(domain_name(
         'http://www.zombie-bites.com'), 'zombie-bites')