Toot-Mastodon-CLI-TUI-clien.../tests/test_version.py

9 lines
241 B
Python
Raw Normal View History

2018-01-15 12:19:37 +01: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