Skip to content

Commit

Permalink
Add invalid destination test
Browse files Browse the repository at this point in the history
  • Loading branch information
agarrido19 committed Jan 21, 2020
1 parent 94b0a1c commit 23fc7b8
Show file tree
Hide file tree
Showing 4 changed files with 1,353 additions and 11 deletions.
15 changes: 15 additions & 0 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,21 @@ def destination() -> Destination:

@pytest.fixture
def invalid_destination() -> Destination:
return Destination(
company='GLENDA LOPEZ',
contact='GLENDA LOPEZ',
email='glenda@hotmail.com',
phone='550909090',
address1='EMILIANO ZAPATA 2',
postal_code='37800',
neighborhood='REVOLUCION',
city='DOLORES HIDALGO CUNA DE LA INDEPENDENCIA NACIONAL',
state='GTO',
)


@pytest.fixture
def invalid_postal_code() -> Destination:
return Destination(
company='ALEJANDRO VIZQUEZ',
contact='ALEJANDRO VIZQUEZ',
Expand Down

0 comments on commit 23fc7b8

Please sign in to comment.