hackertray/test/hn_test.py
Abhay Rana 0586db9d72 Adds chrome module for searching history.
- Restructures unit tests
- Shifts to nose for unit testing
- Adds a sample history file with 6 entries to search against as well
2014-06-07 02:42:59 +05:30

11 lines
234 B
Python

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()