示例#1
0
 def test_config(self):
     assert util.get_user_email() == '*****@*****.**'
示例#2
0
 def test_email_env(self, monkeypatch):
     monkeypatch.setenv('EMAIL', '*****@*****.**')
     assert util.get_user_email() == '*****@*****.**'
示例#3
0
 def test_debemail_env(self, monkeypatch):
     monkeypatch.setenv('DEBEMAIL', '*****@*****.**')
     assert util.get_user_email() == '*****@*****.**'
示例#4
0
 def test_config(self):
     assert util.get_user_email() == '*****@*****.**'
示例#5
0
 def test_email_env(self, monkeypatch):
     monkeypatch.setenv('EMAIL', '*****@*****.**')
     assert util.get_user_email() == '*****@*****.**'
示例#6
0
 def test_debemail_env(self, monkeypatch):
     monkeypatch.setenv('DEBEMAIL', '*****@*****.**')
     assert util.get_user_email() == '*****@*****.**'