Exemple #1
0
 def setUp(self):
     self.html = test_data('hn.html')
     self.hn = hackernews.HackerNews({'interval': None})
Exemple #2
0
 def setUp(self):
     self.html = test_data("hn.html")
     self.hn = hackernews.HackerNews({"interval": None})
Exemple #3
0
 def setUp(self):
     html_path = os.path.abspath(
         os.path.join(os.path.dirname(__file__), 'test_data', 'hn.html'))
     with open(html_path, 'r') as f:
         self.html = f.read()
     self.hn = hackernews.HackerNews({'interval': None})