Skip to content

Commit

Permalink
fixing contacts tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jpetrucciani committed Jun 5, 2019
1 parent 1e64feb commit 6e89438
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hubspot3/test/test_contacts.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def test_get_contact_by_email():
with pytest.raises(HubspotNotFound):
contact = CONTACTS.get_contact_by_email("[email protected]")

contact = CONTACTS.get_contact_by_email("[email protected]")
contact = CONTACTS.get_contact_by_email(BASE_CONTACT["email"])
assert _is_contact(contact)


Expand All @@ -71,7 +71,7 @@ def test_get_contact_by_id():
contact = CONTACTS.get_contact_by_id("-1")

# since their demo data api doesn't seem stable, attempt to find one
contact = CONTACTS.get_contact_by_email("[email protected]")
contact = CONTACTS.get_contact_by_email(BASE_CONTACT["email"])
contact_check = CONTACTS.get_contact_by_id(contact["vid"])
assert _is_contact(contact)
assert _is_contact(contact_check)
Expand Down

0 comments on commit 6e89438

Please sign in to comment.