Fix py26 compatibility issue, add mock to tox
Merge pull request #1 from wizzat/pr109

Fix py26 compatibility issue, add mock to tox