-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1e64feb
commit 6e89438
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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) | ||
|
||
|
||
|
@@ -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) | ||
|