def test_left_operand_should_be_9(self): captcha = Captcha(SECOND_PATTERN, 9, DUMMY_OPERATOR, DUMMY_RIGHT) self.assertEqual("9", captcha.left_operand())
def when_i_want_get_left_operand(step): captcha = Captcha(world.pattern, world.left, world.operator, world.right) world.actual = captcha.left_operand()
def test_left_operand_should_be_nine(self): captcha = Captcha(FIRST_PATTERN, 9, DUMMY_OPERATOR, DUMMY_RIGHT) self.assertEqual("nine", captcha.left_operand())