Ejemplo n.º 1
0
 def test_project_level_prefix(self):
     prefix = "[Example prefix] "
     ProjectOption.objects.set_value(project=self.project,
                                     key="mail:subject_prefix",
                                     value=prefix)
     assert build_subject_prefix(self.project) == prefix
Ejemplo n.º 2
0
 def test_default_prefix(self):
     assert build_subject_prefix(self.project) == "[Sentry] "