ℹ️ HackerTray is a minimalist Hacker News app for Linux
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hackertray/test/hn_test.py

11 lines
234 B

import unittest
from hackertray import HackerNews
class HNTest(unittest.TestCase):
def runTest(self):
data = HackerNews.getHomePage()
self.assertTrue(len(data) > 0)
if __name__ == '__main__':
unittest.main()