Skip to content

Commit fb54f43

Browse files
committed
update version
1 parent 019c26c commit fb54f43

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

specs/version_spec.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
from mamba import description, it
2-
from expects import expect, be_none
3-
41
from amadeus import version
52

6-
with description('Amadeus') as self:
7-
with it('should have a version'):
8-
expect(version).not_to(be_none)
3+
4+
def test_version():
5+
assert version is not None

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ envlist = py38,python3.9,python3.10
55
commands =
66
flake8 amadeus specs setup.py
77
# pytest specs/mixins/validator_spec.py --cov
8-
pytest specs/mixins/errors_spec.py
8+
pytest specs/version_spec.py --cov
99

1010
deps =
1111
expects==0.9.0

0 commit comments

Comments
 (0)