witchie/tests/test_version.py

8 lines
250 B
Python

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