mirror of
https://github.com/pyro2927/SouthwestCheckin.git
synced 2025-12-06 01:13:19 +00:00
Making header generation test more useful
This commit is contained in:
@@ -13,7 +13,9 @@ r = southwest.Reservation('XXXXXX', 'John', 'Smith')
|
||||
|
||||
@my_vcr.use_cassette()
|
||||
def test_generate_headers():
|
||||
print(southwest.Reservation.generate_headers())
|
||||
headers = southwest.Reservation.generate_headers()
|
||||
assert(headers['Content-Type'] == 'application/json')
|
||||
assert(headers['X-API-Key'] == 'l7xx0a43088fe6254712b10787646d1b298e')
|
||||
|
||||
|
||||
@my_vcr.use_cassette()
|
||||
|
||||
Reference in New Issue
Block a user