Test Version match (#887)

* [Tests] makes sure `--version` works
Directly reads the version number from pyproject.toml

* Tag the tests
To run just this test, use `behave --tags=deployments_tests`
This commit is contained in:
MinchinWeb 2020-04-11 13:28:22 -06:00
parent bd6bee47b8
commit 42bebd5632
4 changed files with 20 additions and 1 deletions

View file

@ -35,6 +35,7 @@ behave = "^1.2"
mkdocs = "^1.0"
flake8 = "^3.7"
black = {version = "^19.10b0",allow-prereleases = true}
toml = "^0.10.0"
[tool.poetry.scripts]
jrnl = 'jrnl.cli:run'