import witchie from pkg_resources import get_distribution def test_version(): """Version specified in __version__ should be the same as the one specified in setup.py.""" assert witchie.__version__ == get_distribution('witchie').version