def test_number_from_string_two_number(self): assert 456 == number_from_string('abc456xyz123red')
def test_number_from_string_except(self): with self.assertRaises(AcademyError): number_from_string('abc')
def test_number_from_string(self): result = number_from_string('abc123') assert 123 == result