Beispiel #1
0
 def test_get_subject_missing(self):
     assert mail.get_subject({}) == "FEC Update: unknown-space | unknown-app"
Beispiel #2
0
 def test_get_subject_missing(self):
     assert mail.get_subject(
         {}) == 'FEC Update: unknown-space | unknown-app'
Beispiel #3
0
 def test_get_subject(self):
     settings = {"space_name": "dev", "name": "api"}
     assert mail.get_subject(settings) == "FEC Update: dev | api"
Beispiel #4
0
 def test_get_subject(self):
     settings = {
         'space_name': 'dev',
         'name': 'api',
     }
     assert mail.get_subject(settings) == 'FEC Update: dev | api'