hackertray/test/version_test.py
Abhay Rana 76b64e7fb6 Adds update checking feature.
- Uses the PyPi json API
- Slows down the boot a bit.
- Creates hard dependency on setuptools (which was earlier optional)
2014-09-25 22:20:45 +05:30

10 lines
214 B
Python

import unittest
from hackertray import Version
class VersionTest(unittest.TestCase):
def runTest(self):
version = Version.latest()
assert version
if __name__ == '__main__':
unittest.main()