Skip to content

Commit 2ec4b1a

Browse files
committed
add response test and rename tests
1 parent 9d6ab8b commit 2ec4b1a

File tree

11 files changed

+11
-13
lines changed

11 files changed

+11
-13
lines changed

specs/client/response_spec.py

Lines changed: 0 additions & 13 deletions
This file was deleted.

specs/client/test_response.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import mock
2+
from amadeus import Response
3+
4+
5+
def test_response_init():
6+
http_response = mock.MagicMock()
7+
request = mock.MagicMock()
8+
response = Response(http_response, request)
9+
10+
assert response.http_response == http_response
11+
assert response.request == request

0 commit comments

Comments
 (0)