示例#1
0
 def test_robots_true_only_robots(self):
     url_test2 = 'https://api.github.com/authorizations'
     w = Wrecon()
     data = w.robots(url_test2)
     self.assertEqual(len(data), 1)
示例#2
0
 def test_robots_no_itens(self):
     url_test2 = 'http://localhost:8178/api-docs/#/'
     w = Wrecon()
     data = w.robots(url_test2)
     self.assertEqual(len(data), 0)
示例#3
0
 def test_robots_true(self):
     url_test2 = self.URL_VALID
     w = Wrecon()
     data = w.robots(url_test2)
     self.assertEqual(len(data), 9)