def set_up(self): BaseTestCase.set_up(self) self.init_data = dict(content='Important attachment content.', file_name='test_file1.txt', description='A test file.', size=14, author='user1', time=None)
def set_up(self): BaseTestCase.set_up(self) self.init_data = dict(ticket_id=123, summary='dummy test ticket', description='This is a dummy test ticket.', reporter='user1', owner='user2', cc='user3, user4', type=TYPE_ATTRIBUTE_VALUES.ENHANCEMENT, status=STATUS_ATTRIBUTE_VALUES.NEW, priority=PRIORITY_ATTRIBUTE_VALUES.LOWEST, severity=SEVERITY_ATTRIBUTE_VALUES.TRIVIAL, milestone='1024 km', component='None', keywords='dummy, ticket, tractor')
def set_up(self): BaseTestCase.set_up(self) self.init_data = dict(ticket_id=123, summary='Test TicketWrapper', description='This is a standard test ticket.', reporter='user1', owner='me', cc='user2, user3', type=TYPE_ATTRIBUTE_VALUES.ENHANCEMENT, status=STATUS_ATTRIBUTE_VALUES.NEW, priority=PRIORITY_ATTRIBUTE_VALUES.LOWEST, severity=SEVERITY_ATTRIBUTE_VALUES.TRIVIAL, milestone='1024 km', component='default component', resolution=None, keywords='tractor, test, ticket')
def set_up(self): BaseTestCase.set_up(self) self.summ_name = SummaryAttribute.NAME self.summ_value = 'Test TicketWrapper' self.prio_name = PriorityAttribute.NAME self.prio_value = PRIORITY_ATTRIBUTE_VALUES.LOW
def set_up(self): BaseTestCase.set_up(self) self.init_data = dict(content='dummy_attachment_test', file_name='test_file.txt', description='A dummy attachment.', author='user1')