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
def test_default_prefix(self): assert build_subject_prefix(self.project) == "[Sentry] "