@@ -2090,19 +2090,19 @@ def test_validate_domain_fields_unregistered_contributor(self):
20902090 project = ProjectFactory (creator = self .user )
20912091 with pytest .raises (ValidationError ):
20922092 project .add_unregistered_contributor (
2093- fullname = 'google.com' ,
2094- email = 'spammy@example.com ' ,
2093+ fullname = 'Visit google.com for fun spam action ' ,
2094+ email = 'spammy@cos.io ' ,
20952095 auth = Auth (self .user ),
20962096 notification_type = False ,
20972097 )
2098- assert not OSFUser .objects .filter (username = 'spammy@example.com ' ).exists ()
2098+ assert not OSFUser .objects .filter (username = 'spammy@cos.io ' ).exists ()
20992099
21002100 def test_validate_domain_fields_notable_domain_unregistered_contributor (self ):
21012101 NotableDomain .objects .get_or_create (domain = 'google.com' , note = NotableDomain .Note .IGNORED )
21022102 project = ProjectFactory (creator = self .user )
21032103 contributor = project .add_unregistered_contributor (
21042104 fullname = 'google.com' ,
2105- email = 'notspammy@example.com ' ,
2105+ email = 'notspammy@cos.io ' ,
21062106 auth = Auth (self .user ),
21072107 notification_type = False ,
21082108 )
@@ -2112,7 +2112,7 @@ def test_validate_domain_fields_no_domain(self):
21122112 project = ProjectFactory (creator = self .user )
21132113 contributor = project .add_unregistered_contributor (
21142114 fullname = 'Sandhya N.Sathesh' ,
2115- email = 'sandhya@example.com ' ,
2115+ email = 'sandhya@cos.io ' ,
21162116 auth = Auth (self .user ),
21172117 notification_type = False ,
21182118 )
0 commit comments