-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove tos input defaults and separate out more new vs deprecated
- Loading branch information
1 parent
7bc85a9
commit d045615
Showing
2 changed files
with
33 additions
and
33 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
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 |
---|---|---|
|
@@ -199,23 +199,6 @@ def test_update_owner_and_user_when_email_and_name_are_not_empty(self): | |
assert self.current_user.email == "[email protected]" | ||
assert self.current_user.name == "codecov-user" | ||
|
||
def test_validation_error_when_email_invalid(self): | ||
with pytest.raises(ValidationError): | ||
self.execute( | ||
current_user=self.current_user, | ||
input={"name": "codecov-user", "terms_agreement": True}, | ||
) | ||
|
||
def test_validation_error_when_name_invalid(self): | ||
with pytest.raises(ValidationError): | ||
self.execute( | ||
current_user=self.current_user, | ||
input={ | ||
"business_email": "[email protected]", | ||
"terms_agreement": True, | ||
}, | ||
) | ||
|
||
def test_user_is_not_authenticated(self): | ||
with pytest.raises(Unauthenticated): | ||
self.execute( | ||
|