예제 #1
0
 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)
예제 #2
0
 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)
예제 #3
0
 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')
예제 #4
0
 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')
예제 #5
0
 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')
예제 #6
0
 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')
예제 #7
0
 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
예제 #8
0
 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
예제 #9
0
 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')
예제 #10
0
 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')