Adding version test.
This commit is contained in:
parent
61969d17a2
commit
996ca19dac
1 changed files with 8 additions and 0 deletions
8
atticmatic/tests/integration/test_version.py
Normal file
8
atticmatic/tests/integration/test_version.py
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
import subprocess
|
||||||
|
|
||||||
|
|
||||||
|
def test_setup_version_matches_news_version():
|
||||||
|
setup_version = subprocess.check_output(('python', 'setup.py', '--version')).decode('ascii')
|
||||||
|
news_version = open('NEWS').readline()
|
||||||
|
|
||||||
|
assert setup_version == news_version
|
Loading…
Reference in a new issue