test_version.py - toot - Unnamed repository; edit this file 'description' to na… | |
Log | |
Files | |
Refs | |
LICENSE | |
--- | |
test_version.py (241B) | |
--- | |
1 import toot | |
2 from pkg_resources import get_distribution | |
3 | |
4 | |
5 def test_version(): | |
6 """Version specified in __version__ should be the same as the one | |
7 specified in setup.py.""" | |
8 assert toot.__version__ == get_distribution('toot').version |