witchie/tests/test_version.py

9 lines
241 B
Python
Raw Normal View History

2018-01-15 11:19:37 +00:00
import toot
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 toot.__version__ == get_distribution('toot').version