示例#1
0
 def test_main_is_remove_outliers_from_recursive_none(self):
     url_test2 = None
     parser = Wrecon.remove_outliers_from_recursive(self, url_test2)
     self.assertEqual(parser, False)
示例#2
0
 def test_outliers_false(self):
     url_test3 = 'http://www.styleshout.com/'
     w = Wrecon()
     data2 = w.remove_outliers_from_recursive(url_test3)
     self.assertEqual(data2, False)
示例#3
0
 def test_main_is_remove_outliers_from_recursive_javascript(self):
     url_test2 = 'javascript://void(false);'
     parser = Wrecon.remove_outliers_from_recursive(self, url_test2)
     self.assertEqual(parser, False)
示例#4
0
 def test_outliers_true(self):
     url_test2 = self.URL_VALID
     w = Wrecon()
     data = w.remove_outliers_from_recursive(url_test2)
     self.assertEqual(data, True)