Пример #1
0
 def test_get_next_uid_given_given_largest_uid_is_9th(self):
     Question.objects.create(text='question 3', UID='C00009', answer_type='Number')
     self.assertEqual('00010', Question.next_uid())
Пример #2
0
 def test_get_next_uid_given_given_largest_uid_is_9th(self):
     Question.objects.create(text='question 3',
                             UID='C00009',
                             answer_type='Number')
     self.assertEqual('00010', Question.next_uid())
Пример #3
0
 def test_get_next_uid_given_given_largest_uid_question(self):
     self.assertEqual('00004', Question.next_uid())
Пример #4
0
 def test_get_next_uid_given_given_largest_uid_question(self):
     self.assertEqual('00004', Question.next_uid())