You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We trying to not hard code email address in tests. Instead of that we would use self.example_email, or self.mit_email or self.nonreg_email.
eg: instead of [email protected] we use self.example_email("iago")
We also avoid calling get_user function in tests. Instead of that we use self.example_user or self.mit_user, self.nonreg_user or self.notification_bot.
The text was updated successfully, but these errors were encountered:
hackerkid
changed the title
task idea: Use self.example_user and self.example_email in tests
task idea: Use test helpers instead of hard-coding emails as well as calling get_user
Nov 18, 2017
hackerkid
changed the title
task idea: Use test helpers instead of hard-coding emails as well as calling get_user
task idea: Use test helpers instead of hard-coding emails or calling get_user
Nov 18, 2017
self.example_email
, orself.mit_email
orself.nonreg_email
.eg: instead of [email protected] we use self.example_email("iago")
get_user
function in tests. Instead of that we useself.example_user
orself.mit_user
,self.nonreg_user
orself.notification_bot
.The text was updated successfully, but these errors were encountered: