def _insert_severity(self, name): s = Severity(self.env) s.name = name s.insert()
def _insert_severity(self): s = Severity(self.env) s.name = 'severity 1' s.insert()
def add_wg_draft_states(self, group, env): for state in settings.TRAC_ISSUE_SEVERITY_ADD: self.note(" Adding severity %s" % state) severity = Severity(env) severity.name = state severity.insert()
def test_remove_default_severity(self): s = Severity(self.env) s.name = 'severity 1' s.insert() ap = SeverityAdminPanel(self.env) self._test_remove_default(ap, 'severity 1')
def test_remove_default_severity(self): s = Severity(self.env) s.name = 'severity 1' s.insert() ap = SeverityAdminPanel(self.env) self._test_remove_default(ap, 'severity 1')