DobyTang/LazyLibrarian — pull request #14 by DobyTang (2013-12-31 22:13:08+00:00)
Title: Versioncheck

updated the version checking to cater for reported issues

broke down into more modular functions
more distinct checks for 3 types of installs - windows, Git and source
better update text based on commits behind or ahead
better debug logging to trace what is going on
version.txt is updated to current version at all times.
UnitTests

first go at unit tests being added to the project.
majority work fine as they check the function responses, but others which drive off dynamic data need further work (eg version testing)
execute by python -m unittest discover -s lazylibrarian/unittests/ -v (ALL comments welcome on how to improve these - I haven't gone to suites yet)
FIXES

- fix specified port not loading correctly

DISCLAIMER:
- as there is no complete e2e testing available, I accept all issues found willingly.