def test_right_operand_should_be_nine(self):
     captcha = Captcha(SECOND_PATTERN, DUMMY_LEFT, DUMMY_OPERATOR, 9)
     self.assertEqual("nine", captcha.right_operand())
Пример #2
0
 def test_right_operand_should_be_9(self):
     captcha = Captcha(FIRST_PATTERN, DUMMY_LEFT, DUMMY_OPERATOR, 9)
     self.assertEqual("9", captcha.right_operand())