Use pytest (bug 1090184)
Merge pull request #369 from magopian/1090184-use-pytest

use pytest (bug 1090184)