Skip to content

Commit 9d6ab8b

Browse files
committed
update client tests
1 parent 1fdfa82 commit 9d6ab8b

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

specs/client_spec.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
1-
from mamba import description, it
2-
from expects import expect, be_none, equal
3-
41
from amadeus import Client, Location
52

6-
with description('Client') as self:
7-
with it('should exist'):
8-
expect(Client).not_to(be_none)
93

10-
with it('should have helper locations'):
11-
expect(Location).not_to(be_none)
12-
expect(Location.ANY).to(equal('AIRPORT,CITY'))
4+
def test_client_exists():
5+
assert Client is not None
6+
7+
8+
def test_client_has_helper_locations():
9+
assert Location is not None
10+
assert Location.ANY == 'AIRPORT,CITY'

0 commit comments

Comments
 (0)