mirror of
https://github.com/pyro2927/SouthwestCheckin.git
synced 2025-12-06 01:13:19 +00:00
modified: checkin_test.py
This commit is contained in:
@@ -28,9 +28,6 @@ def test_reservation_lookup():
|
|||||||
|
|
||||||
@my_vcr.use_cassette()
|
@my_vcr.use_cassette()
|
||||||
def test_checkin():
|
def test_checkin():
|
||||||
phone = southwest.Notifications.Phone('1234567890')
|
|
||||||
email = southwest.Notifications.Email('test@example.com')
|
|
||||||
r.notifications = [phone, email]
|
|
||||||
try:
|
try:
|
||||||
r.checkin()
|
r.checkin()
|
||||||
except Exception:
|
except Exception:
|
||||||
@@ -39,9 +36,6 @@ def test_checkin():
|
|||||||
|
|
||||||
@my_vcr.use_cassette()
|
@my_vcr.use_cassette()
|
||||||
def test_checkin_without_passes():
|
def test_checkin_without_passes():
|
||||||
phone = southwest.Notifications.Phone('1234567890')
|
|
||||||
email = southwest.Notifications.Email('test@example.com')
|
|
||||||
r.notifications = [phone, email]
|
|
||||||
try:
|
try:
|
||||||
r.checkin()
|
r.checkin()
|
||||||
except Exception:
|
except Exception:
|
||||||
|
|||||||
Reference in New Issue
Block a user