def test_canUpdateReporter(self): testTicket = testRemoteIssueFactory() ticket = JiraTicket(testTicket) reporter = "me" ticket.setReporter(reporter) self.assertEqual(reporter, ticket.reporter())
def test_canGetReporter(self): testTicket = testRemoteIssueFactory() ticket = JiraTicket(testTicket) self.assertEqual(testTicket.reporter, ticket.reporter())